Sample code: + * + *
{@code + * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + * RunContinuousTestRequest request = + * RunContinuousTestRequest.newBuilder() + * .setEnvironment( + * EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]") + * .toString()) + * .build(); + * RunContinuousTestResponse response = environmentsClient.runContinuousTestAsync(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 OperationFuture
Sample code: + * + *
{@code + * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + * RunContinuousTestRequest request = + * RunContinuousTestRequest.newBuilder() + * .setEnvironment( + * EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]") + * .toString()) + * .build(); + * OperationFuture+ */ + public final OperationCallable< + RunContinuousTestRequest, RunContinuousTestResponse, RunContinuousTestMetadata> + runContinuousTestOperationCallable() { + return stub.runContinuousTestOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Kicks off a continuous test under the specified + * [Environment][google.cloud.dialogflow.cx.v3.Environment]. + * + *future = + * environmentsClient.runContinuousTestOperationCallable().futureCall(request); + * // Do something. + * RunContinuousTestResponse response = future.get(); + * } + * }
Sample code: + * + *
{@code + * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + * RunContinuousTestRequest request = + * RunContinuousTestRequest.newBuilder() + * .setEnvironment( + * EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]") + * .toString()) + * .build(); + * ApiFuture+ */ + public final UnaryCallablefuture = + * environmentsClient.runContinuousTestCallable().futureCall(request); + * // Do something. + * Operation response = future.get(); + * } + * }
Sample code: + * + *
{@code + * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + * EnvironmentName parent = + * EnvironmentName.of("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]"); + * for (ContinuousTestResult element : + * environmentsClient.listContinuousTestResults(parent).iterateAll()) { + * // doThingsWith(element); + * } + * } + * }+ * + * @param parent Required. The environment to list results for. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/ environments/<Environment + * ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListContinuousTestResultsPagedResponse listContinuousTestResults( + EnvironmentName parent) { + ListContinuousTestResultsRequest request = + ListContinuousTestResultsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listContinuousTestResults(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a list of continuous test results for a given environment. + * + *
Sample code: + * + *
{@code + * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + * String parent = + * ContinuousTestResultName.of( + * "[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]", "[CONTINUOUS_TEST_RESULT]") + * .toString(); + * for (ContinuousTestResult element : + * environmentsClient.listContinuousTestResults(parent).iterateAll()) { + * // doThingsWith(element); + * } + * } + * }+ * + * @param parent Required. The environment to list results for. Format: `projects/<Project + * ID>/locations/<Location ID>/agents/<Agent ID>/ environments/<Environment + * ID>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListContinuousTestResultsPagedResponse listContinuousTestResults(String parent) { + ListContinuousTestResultsRequest request = + ListContinuousTestResultsRequest.newBuilder().setParent(parent).build(); + return listContinuousTestResults(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a list of continuous test results for a given environment. + * + *
Sample code: + * + *
{@code + * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + * ListContinuousTestResultsRequest request = + * ListContinuousTestResultsRequest.newBuilder() + * .setParent( + * ContinuousTestResultName.of( + * "[PROJECT]", + * "[LOCATION]", + * "[AGENT]", + * "[ENVIRONMENT]", + * "[CONTINUOUS_TEST_RESULT]") + * .toString()) + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .build(); + * for (ContinuousTestResult element : + * environmentsClient.listContinuousTestResults(request).iterateAll()) { + * // doThingsWith(element); + * } + * } + * }+ * + * @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 ListContinuousTestResultsPagedResponse listContinuousTestResults( + ListContinuousTestResultsRequest request) { + return listContinuousTestResultsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a list of continuous test results for a given environment. + * + *
Sample code: + * + *
{@code + * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + * ListContinuousTestResultsRequest request = + * ListContinuousTestResultsRequest.newBuilder() + * .setParent( + * ContinuousTestResultName.of( + * "[PROJECT]", + * "[LOCATION]", + * "[AGENT]", + * "[ENVIRONMENT]", + * "[CONTINUOUS_TEST_RESULT]") + * .toString()) + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .build(); + * ApiFuture+ */ + public final UnaryCallable< + ListContinuousTestResultsRequest, ListContinuousTestResultsPagedResponse> + listContinuousTestResultsPagedCallable() { + return stub.listContinuousTestResultsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a list of continuous test results for a given environment. + * + *future = + * environmentsClient.listContinuousTestResultsPagedCallable().futureCall(request); + * // Do something. + * for (ContinuousTestResult element : future.get().iterateAll()) { + * // doThingsWith(element); + * } + * } + * }
Sample code: + * + *
{@code + * try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) { + * ListContinuousTestResultsRequest request = + * ListContinuousTestResultsRequest.newBuilder() + * .setParent( + * ContinuousTestResultName.of( + * "[PROJECT]", + * "[LOCATION]", + * "[AGENT]", + * "[ENVIRONMENT]", + * "[CONTINUOUS_TEST_RESULT]") + * .toString()) + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .build(); + * while (true) { + * ListContinuousTestResultsResponse response = + * environmentsClient.listContinuousTestResultsCallable().call(request); + * for (ContinuousTestResult element : response.getResponsesList()) { + * // doThingsWith(element); + * } + * String nextPageToken = response.getNextPageToken(); + * if (!Strings.isNullOrEmpty(nextPageToken)) { + * request = request.toBuilder().setPageToken(nextPageToken).build(); + * } else { + * break; + * } + * } + * } + * }+ */ + public final UnaryCallable
+ * Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. + *+ */ + public void runContinuousTest( + com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest request, + io.grpc.stub.StreamObserver
+ * Fetches a list of continuous test results for a given environment. + *+ */ + public void listContinuousTestResults( + com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListContinuousTestResultsMethod(), responseObserver); + } + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) @@ -492,6 +619,19 @@ public final io.grpc.ServerServiceDefinition bindService() { com.google.cloud.dialogflow.cx.v3.LookupEnvironmentHistoryRequest, com.google.cloud.dialogflow.cx.v3.LookupEnvironmentHistoryResponse>( this, METHODID_LOOKUP_ENVIRONMENT_HISTORY))) + .addMethod( + getRunContinuousTestMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest, + com.google.longrunning.Operation>(this, METHODID_RUN_CONTINUOUS_TEST))) + .addMethod( + getListContinuousTestResultsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest, + com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse>( + this, METHODID_LIST_CONTINUOUS_TEST_RESULTS))) .build(); } } @@ -613,6 +753,40 @@ public void lookupEnvironmentHistory( request, responseObserver); } + + /** + * + * + *
+ * Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. + *+ */ + public void runContinuousTest( + com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest request, + io.grpc.stub.StreamObserver
+ * Fetches a list of continuous test results for a given environment. + *+ */ + public void listContinuousTestResults( + com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListContinuousTestResultsMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -712,6 +886,33 @@ public com.google.protobuf.Empty deleteEnvironment( return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getLookupEnvironmentHistoryMethod(), getCallOptions(), request); } + + /** + * + * + *
+ * Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. + *+ */ + public com.google.longrunning.Operation runContinuousTest( + com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRunContinuousTestMethod(), getCallOptions(), request); + } + + /** + * + * + *
+ * Fetches a list of continuous test results for a given environment. + *+ */ + public com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse + listContinuousTestResults( + com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListContinuousTestResultsMethod(), getCallOptions(), request); + } } /** @@ -814,6 +1015,34 @@ protected EnvironmentsFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getLookupEnvironmentHistoryMethod(), getCallOptions()), request); } + + /** + * + * + *
+ * Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Fetches a list of continuous test results for a given environment. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse> + listContinuousTestResults( + com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListContinuousTestResultsMethod(), getCallOptions()), request); + } } private static final int METHODID_LIST_ENVIRONMENTS = 0; @@ -822,6 +1051,8 @@ protected EnvironmentsFutureStub build( private static final int METHODID_UPDATE_ENVIRONMENT = 3; private static final int METHODID_DELETE_ENVIRONMENT = 4; private static final int METHODID_LOOKUP_ENVIRONMENT_HISTORY = 5; + private static final int METHODID_RUN_CONTINUOUS_TEST = 6; + private static final int METHODID_LIST_CONTINUOUS_TEST_RESULTS = 7; private static final class MethodHandlers
+ * Represents a result from running a test case in an agent environment. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ContinuousTestResult} + */ +public final class ContinuousTestResult extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.ContinuousTestResult) + ContinuousTestResultOrBuilder { + private static final long serialVersionUID = 0L; + // Use ContinuousTestResult.newBuilder() to construct. + private ContinuousTestResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ContinuousTestResult() { + name_ = ""; + result_ = 0; + testCaseResults_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ContinuousTestResult(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ContinuousTestResult( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); + + result_ = rawValue; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + testCaseResults_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + testCaseResults_.add(s); + break; + } + case 34: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (runTime_ != null) { + subBuilder = runTime_.toBuilder(); + } + runTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(runTime_); + runTime_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + testCaseResults_ = testCaseResults_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3.EnvironmentProto + .internal_static_google_cloud_dialogflow_cx_v3_ContinuousTestResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.EnvironmentProto + .internal_static_google_cloud_dialogflow_cx_v3_ContinuousTestResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.class, + com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.Builder.class); + } + + /** + * + * + *
+ * The overall result for a continuous test run in an agent environment. + *+ * + * Protobuf enum {@code google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult} + */ + public enum AggregatedTestResult implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Not specified. Should never be used. + *+ * + *
AGGREGATED_TEST_RESULT_UNSPECIFIED = 0;
+ */
+ AGGREGATED_TEST_RESULT_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * All the tests passed. + *+ * + *
PASSED = 1;
+ */
+ PASSED(1),
+ /**
+ *
+ *
+ * + * At least one test did not pass. + *+ * + *
FAILED = 2;
+ */
+ FAILED(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Not specified. Should never be used. + *+ * + *
AGGREGATED_TEST_RESULT_UNSPECIFIED = 0;
+ */
+ public static final int AGGREGATED_TEST_RESULT_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ * + * All the tests passed. + *+ * + *
PASSED = 1;
+ */
+ public static final int PASSED_VALUE = 1;
+ /**
+ *
+ *
+ * + * At least one test did not pass. + *+ * + *
FAILED = 2;
+ */
+ public static final int FAILED_VALUE = 2;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static AggregatedTestResult valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static AggregatedTestResult forNumber(int value) {
+ switch (value) {
+ case 0:
+ return AGGREGATED_TEST_RESULT_UNSPECIFIED;
+ case 1:
+ return PASSED;
+ case 2:
+ return FAILED;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * The resource name for the continuous test result. Format: + * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment + * ID>/continuousTestResults/<ContinuousTestResult ID>`. + *+ * + *
string name = 1;
+ *
+ * @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;
+ }
+ }
+ /**
+ *
+ *
+ * + * The resource name for the continuous test result. Format: + * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment + * ID>/continuousTestResults/<ContinuousTestResult ID>`. + *+ * + *
string name = 1;
+ *
+ * @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;
+ }
+ }
+
+ public static final int RESULT_FIELD_NUMBER = 2;
+ private int result_;
+ /**
+ *
+ *
+ * + * The result of this continuous test run, i.e. whether all the tests in this + * continuous test run pass or not. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult result = 2;
+ *
+ *
+ * @return The enum numeric value on the wire for result.
+ */
+ @java.lang.Override
+ public int getResultValue() {
+ return result_;
+ }
+ /**
+ *
+ *
+ * + * The result of this continuous test run, i.e. whether all the tests in this + * continuous test run pass or not. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult result = 2;
+ *
+ *
+ * @return The result.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult getResult() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult result =
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult.valueOf(
+ result_);
+ return result == null
+ ? com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult.UNRECOGNIZED
+ : result;
+ }
+
+ public static final int TEST_CASE_RESULTS_FIELD_NUMBER = 3;
+ private com.google.protobuf.LazyStringList testCaseResults_;
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @return A list containing the testCaseResults.
+ */
+ public com.google.protobuf.ProtocolStringList getTestCaseResultsList() {
+ return testCaseResults_;
+ }
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The count of testCaseResults.
+ */
+ public int getTestCaseResultsCount() {
+ return testCaseResults_.size();
+ }
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the element to return.
+ * @return The testCaseResults at the given index.
+ */
+ public java.lang.String getTestCaseResults(int index) {
+ return testCaseResults_.get(index);
+ }
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the testCaseResults at the given index.
+ */
+ public com.google.protobuf.ByteString getTestCaseResultsBytes(int index) {
+ return testCaseResults_.getByteString(index);
+ }
+
+ public static final int RUN_TIME_FIELD_NUMBER = 4;
+ private com.google.protobuf.Timestamp runTime_;
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ *
+ * @return Whether the runTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasRunTime() {
+ return runTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ *
+ * @return The runTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getRunTime() {
+ return runTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runTime_;
+ }
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
+ return getRunTime();
+ }
+
+ 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 (!getNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ }
+ if (result_
+ != com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult
+ .AGGREGATED_TEST_RESULT_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(2, result_);
+ }
+ for (int i = 0; i < testCaseResults_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, testCaseResults_.getRaw(i));
+ }
+ if (runTime_ != null) {
+ output.writeMessage(4, getRunTime());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ }
+ if (result_
+ != com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult
+ .AGGREGATED_TEST_RESULT_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, result_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < testCaseResults_.size(); i++) {
+ dataSize += computeStringSizeNoTag(testCaseResults_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getTestCaseResultsList().size();
+ }
+ if (runTime_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRunTime());
+ }
+ size += unknownFields.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.dialogflow.cx.v3.ContinuousTestResult)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult other =
+ (com.google.cloud.dialogflow.cx.v3.ContinuousTestResult) obj;
+
+ if (!getName().equals(other.getName())) return false;
+ if (result_ != other.result_) return false;
+ if (!getTestCaseResultsList().equals(other.getTestCaseResultsList())) return false;
+ if (hasRunTime() != other.hasRunTime()) return false;
+ if (hasRunTime()) {
+ if (!getRunTime().equals(other.getRunTime())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) 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 = (37 * hash) + RESULT_FIELD_NUMBER;
+ hash = (53 * hash) + result_;
+ if (getTestCaseResultsCount() > 0) {
+ hash = (37 * hash) + TEST_CASE_RESULTS_FIELD_NUMBER;
+ hash = (53 * hash) + getTestCaseResultsList().hashCode();
+ }
+ if (hasRunTime()) {
+ hash = (37 * hash) + RUN_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getRunTime().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ContinuousTestResult parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ContinuousTestResult 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.dialogflow.cx.v3.ContinuousTestResult parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ContinuousTestResult 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.dialogflow.cx.v3.ContinuousTestResult parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ContinuousTestResult parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ContinuousTestResult parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ContinuousTestResult 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.dialogflow.cx.v3.ContinuousTestResult parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ContinuousTestResult 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.dialogflow.cx.v3.ContinuousTestResult parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ContinuousTestResult 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.dialogflow.cx.v3.ContinuousTestResult 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;
+ }
+ /**
+ *
+ *
+ * + * Represents a result from running a test case in an agent environment. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ContinuousTestResult} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The resource name for the continuous test result. Format: + * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment + * ID>/continuousTestResults/<ContinuousTestResult ID>`. + *+ * + *
string name = 1;
+ *
+ * @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;
+ }
+ }
+ /**
+ *
+ *
+ * + * The resource name for the continuous test result. Format: + * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment + * ID>/continuousTestResults/<ContinuousTestResult ID>`. + *+ * + *
string name = 1;
+ *
+ * @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;
+ }
+ }
+ /**
+ *
+ *
+ * + * The resource name for the continuous test result. Format: + * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment + * ID>/continuousTestResults/<ContinuousTestResult ID>`. + *+ * + *
string name = 1;
+ *
+ * @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;
+ }
+ /**
+ *
+ *
+ * + * The resource name for the continuous test result. Format: + * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment + * ID>/continuousTestResults/<ContinuousTestResult ID>`. + *+ * + *
string name = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The resource name for the continuous test result. Format: + * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment + * ID>/continuousTestResults/<ContinuousTestResult ID>`. + *+ * + *
string name = 1;
+ *
+ * @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;
+ }
+
+ private int result_ = 0;
+ /**
+ *
+ *
+ * + * The result of this continuous test run, i.e. whether all the tests in this + * continuous test run pass or not. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult result = 2;
+ *
+ *
+ * @return The enum numeric value on the wire for result.
+ */
+ @java.lang.Override
+ public int getResultValue() {
+ return result_;
+ }
+ /**
+ *
+ *
+ * + * The result of this continuous test run, i.e. whether all the tests in this + * continuous test run pass or not. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult result = 2;
+ *
+ *
+ * @param value The enum numeric value on the wire for result to set.
+ * @return This builder for chaining.
+ */
+ public Builder setResultValue(int value) {
+
+ result_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The result of this continuous test run, i.e. whether all the tests in this + * continuous test run pass or not. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult result = 2;
+ *
+ *
+ * @return The result.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult getResult() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult result =
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult.valueOf(
+ result_);
+ return result == null
+ ? com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * The result of this continuous test run, i.e. whether all the tests in this + * continuous test run pass or not. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult result = 2;
+ *
+ *
+ * @param value The result to set.
+ * @return This builder for chaining.
+ */
+ public Builder setResult(
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ result_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The result of this continuous test run, i.e. whether all the tests in this + * continuous test run pass or not. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult result = 2;
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearResult() {
+
+ result_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.LazyStringList testCaseResults_ =
+ com.google.protobuf.LazyStringArrayList.EMPTY;
+
+ private void ensureTestCaseResultsIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ testCaseResults_ = new com.google.protobuf.LazyStringArrayList(testCaseResults_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return A list containing the testCaseResults.
+ */
+ public com.google.protobuf.ProtocolStringList getTestCaseResultsList() {
+ return testCaseResults_.getUnmodifiableView();
+ }
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The count of testCaseResults.
+ */
+ public int getTestCaseResultsCount() {
+ return testCaseResults_.size();
+ }
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param index The index of the element to return.
+ * @return The testCaseResults at the given index.
+ */
+ public java.lang.String getTestCaseResults(int index) {
+ return testCaseResults_.get(index);
+ }
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the testCaseResults at the given index.
+ */
+ public com.google.protobuf.ByteString getTestCaseResultsBytes(int index) {
+ return testCaseResults_.getByteString(index);
+ }
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param index The index to set the value at.
+ * @param value The testCaseResults to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTestCaseResults(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTestCaseResultsIsMutable();
+ testCaseResults_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The testCaseResults to add.
+ * @return This builder for chaining.
+ */
+ public Builder addTestCaseResults(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureTestCaseResultsIsMutable();
+ testCaseResults_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param values The testCaseResults to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllTestCaseResults(java.lang.Iterable+ * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTestCaseResults() {
+ testCaseResults_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes of the testCaseResults to add.
+ * @return This builder for chaining.
+ */
+ public Builder addTestCaseResultsBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureTestCaseResultsIsMutable();
+ testCaseResults_.add(value);
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.Timestamp runTime_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ runTimeBuilder_;
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ *
+ * @return Whether the runTime field is set.
+ */
+ public boolean hasRunTime() {
+ return runTimeBuilder_ != null || runTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ *
+ * @return The runTime.
+ */
+ public com.google.protobuf.Timestamp getRunTime() {
+ if (runTimeBuilder_ == null) {
+ return runTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runTime_;
+ } else {
+ return runTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ */
+ public Builder setRunTime(com.google.protobuf.Timestamp value) {
+ if (runTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ runTime_ = value;
+ onChanged();
+ } else {
+ runTimeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ */
+ public Builder setRunTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (runTimeBuilder_ == null) {
+ runTime_ = builderForValue.build();
+ onChanged();
+ } else {
+ runTimeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ */
+ public Builder mergeRunTime(com.google.protobuf.Timestamp value) {
+ if (runTimeBuilder_ == null) {
+ if (runTime_ != null) {
+ runTime_ =
+ com.google.protobuf.Timestamp.newBuilder(runTime_).mergeFrom(value).buildPartial();
+ } else {
+ runTime_ = value;
+ }
+ onChanged();
+ } else {
+ runTimeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ */
+ public Builder clearRunTime() {
+ if (runTimeBuilder_ == null) {
+ runTime_ = null;
+ onChanged();
+ } else {
+ runTime_ = null;
+ runTimeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ */
+ public com.google.protobuf.Timestamp.Builder getRunTimeBuilder() {
+
+ onChanged();
+ return getRunTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ */
+ public com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder() {
+ if (runTimeBuilder_ != null) {
+ return runTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return runTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runTime_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getRunTimeFieldBuilder() {
+ if (runTimeBuilder_ == null) {
+ runTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getRunTime(), getParentForChildren(), isClean());
+ runTime_ = null;
+ }
+ return runTimeBuilder_;
+ }
+
+ @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.dialogflow.cx.v3.ContinuousTestResult)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.ContinuousTestResult)
+ private static final com.google.cloud.dialogflow.cx.v3.ContinuousTestResult DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.ContinuousTestResult();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ContinuousTestResult getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The resource name for the continuous test result. Format: + * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment + * ID>/continuousTestResults/<ContinuousTestResult ID>`. + *+ * + *
string name = 1;
+ *
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ *
+ *
+ * + * The resource name for the continuous test result. Format: + * `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment + * ID>/continuousTestResults/<ContinuousTestResult ID>`. + *+ * + *
string name = 1;
+ *
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString getNameBytes();
+
+ /**
+ *
+ *
+ * + * The result of this continuous test run, i.e. whether all the tests in this + * continuous test run pass or not. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult result = 2;
+ *
+ *
+ * @return The enum numeric value on the wire for result.
+ */
+ int getResultValue();
+ /**
+ *
+ *
+ * + * The result of this continuous test run, i.e. whether all the tests in this + * continuous test run pass or not. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult result = 2;
+ *
+ *
+ * @return The result.
+ */
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.AggregatedTestResult getResult();
+
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @return A list containing the testCaseResults.
+ */
+ java.util.List+ * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The count of testCaseResults.
+ */
+ int getTestCaseResultsCount();
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the element to return.
+ * @return The testCaseResults at the given index.
+ */
+ java.lang.String getTestCaseResults(int index);
+ /**
+ *
+ *
+ * + * A list of individual test case results names in this continuous test run. + *+ * + *
repeated string test_case_results = 3 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the testCaseResults at the given index.
+ */
+ com.google.protobuf.ByteString getTestCaseResultsBytes(int index);
+
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ *
+ * @return Whether the runTime field is set.
+ */
+ boolean hasRunTime();
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ *
+ * @return The runTime.
+ */
+ com.google.protobuf.Timestamp getRunTime();
+ /**
+ *
+ *
+ * + * Time when the continuous testing run starts. + *+ * + *
.google.protobuf.Timestamp run_time = 4;
+ */
+ com.google.protobuf.TimestampOrBuilder getRunTimeOrBuilder();
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/EnvironmentProto.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/EnvironmentProto.java
index d11f3027f..044dc9d96 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/EnvironmentProto.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/EnvironmentProto.java
@@ -67,6 +67,30 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_dialogflow_cx_v3_LookupEnvironmentHistoryResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_dialogflow_cx_v3_LookupEnvironmentHistoryResponse_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3_ContinuousTestResult_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3_ContinuousTestResult_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestResponse_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestMetadata_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -121,48 +145,89 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "kupEnvironmentHistoryResponse\022@\n\014environ"
+ "ments\030\001 \003(\0132*.google.cloud.dialogflow.cx"
+ ".v3.Environment\022\027\n\017next_page_token\030\002 \001(\t"
- + "2\324\013\n\014Environments\022\317\001\n\020ListEnvironments\0226"
- + ".google.cloud.dialogflow.cx.v3.ListEnvir"
- + "onmentsRequest\0327.google.cloud.dialogflow"
- + ".cx.v3.ListEnvironmentsResponse\"J\202\323\344\223\002;\022"
- + "9/v3/{parent=projects/*/locations/*/agen"
- + "ts/*}/environments\332A\006parent\022\274\001\n\016GetEnvir"
- + "onment\0224.google.cloud.dialogflow.cx.v3.G"
- + "etEnvironmentRequest\032*.google.cloud.dial"
- + "ogflow.cx.v3.Environment\"H\202\323\344\223\002;\0229/v3/{n"
- + "ame=projects/*/locations/*/agents/*/envi"
- + "ronments/*}\332A\004name\022\371\001\n\021CreateEnvironment"
- + "\0227.google.cloud.dialogflow.cx.v3.CreateE"
- + "nvironmentRequest\032\035.google.longrunning.O"
- + "peration\"\213\001\202\323\344\223\002H\"9/v3/{parent=projects/"
- + "*/locations/*/agents/*}/environments:\013en"
- + "vironment\332A\022parent,environment\312A%\n\013Envir"
- + "onment\022\026google.protobuf.Struct\022\212\002\n\021Updat"
- + "eEnvironment\0227.google.cloud.dialogflow.c"
- + "x.v3.UpdateEnvironmentRequest\032\035.google.l"
- + "ongrunning.Operation\"\234\001\202\323\344\223\002T2E/v3/{envi"
- + "ronment.name=projects/*/locations/*/agen"
- + "ts/*/environments/*}:\013environment\332A\027envi"
- + "ronment,update_mask\312A%\n\013Environment\022\026goo"
- + "gle.protobuf.Struct\022\256\001\n\021DeleteEnvironmen"
- + "t\0227.google.cloud.dialogflow.cx.v3.Delete"
- + "EnvironmentRequest\032\026.google.protobuf.Emp"
- + "ty\"H\202\323\344\223\002;*9/v3/{name=projects/*/locatio"
- + "ns/*/agents/*/environments/*}\332A\004name\022\376\001\n"
- + "\030LookupEnvironmentHistory\022>.google.cloud"
- + ".dialogflow.cx.v3.LookupEnvironmentHisto"
- + "ryRequest\032?.google.cloud.dialogflow.cx.v"
- + "3.LookupEnvironmentHistoryResponse\"a\202\323\344\223"
- + "\002T\022R/v3/{name=projects/*/locations/*/age"
- + "nts/*/environments/*}:lookupEnvironmentH"
- + "istory\332A\004name\032x\312A\031dialogflow.googleapis."
- + "com\322AYhttps://www.googleapis.com/auth/cl"
- + "oud-platform,https://www.googleapis.com/"
- + "auth/dialogflowB\240\001\n!com.google.cloud.dia"
- + "logflow.cx.v3B\020EnvironmentProtoP\001Z?googl"
- + "e.golang.org/genproto/googleapis/cloud/d"
- + "ialogflow/cx/v3;cx\370\001\001\242\002\002DF\252\002\035Google.Clou"
- + "d.Dialogflow.Cx.V3b\006proto3"
+ + "\"\210\004\n\024ContinuousTestResult\022\014\n\004name\030\001 \001(\t\022"
+ + "X\n\006result\030\002 \001(\0162H.google.cloud.dialogflo"
+ + "w.cx.v3.ContinuousTestResult.AggregatedT"
+ + "estResult\022H\n\021test_case_results\030\003 \003(\tB-\372A"
+ + "*\n(dialogflow.googleapis.com/TestCaseRes"
+ + "ult\022,\n\010run_time\030\004 \001(\0132\032.google.protobuf."
+ + "Timestamp\"V\n\024AggregatedTestResult\022&\n\"AGG"
+ + "REGATED_TEST_RESULT_UNSPECIFIED\020\000\022\n\n\006PAS"
+ + "SED\020\001\022\n\n\006FAILED\020\002:\267\001\352A\263\001\n.dialogflow.goo"
+ + "gleapis.com/ContinuousTestResult\022\200\001proje"
+ + "cts/{project}/locations/{location}/agent"
+ + "s/{agent}/environments/{environment}/con"
+ + "tinuousTestResults/{continuous_test_resu"
+ + "lt}\"^\n\030RunContinuousTestRequest\022B\n\013envir"
+ + "onment\030\001 \001(\tB-\340A\002\372A\'\n%dialogflow.googlea"
+ + "pis.com/Environment\"p\n\031RunContinuousTest"
+ + "Response\022S\n\026continuous_test_result\030\001 \001(\013"
+ + "23.google.cloud.dialogflow.cx.v3.Continu"
+ + "ousTestResult\"U\n\031RunContinuousTestMetada"
+ + "ta\0228\n\006errors\030\001 \003(\0132(.google.cloud.dialog"
+ + "flow.cx.v3.TestError\"\221\001\n ListContinuousT"
+ + "estResultsRequest\022F\n\006parent\030\001 \001(\tB6\340A\002\372A"
+ + "0\022.dialogflow.googleapis.com/ContinuousT"
+ + "estResult\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok"
+ + "en\030\003 \001(\t\"\222\001\n!ListContinuousTestResultsRe"
+ + "sponse\022T\n\027continuous_test_results\030\001 \003(\0132"
+ + "3.google.cloud.dialogflow.cx.v3.Continuo"
+ + "usTestResult\022\027\n\017next_page_token\030\002 \001(\t2\340\017"
+ + "\n\014Environments\022\317\001\n\020ListEnvironments\0226.go"
+ + "ogle.cloud.dialogflow.cx.v3.ListEnvironm"
+ + "entsRequest\0327.google.cloud.dialogflow.cx"
+ + ".v3.ListEnvironmentsResponse\"J\202\323\344\223\002;\0229/v"
+ + "3/{parent=projects/*/locations/*/agents/"
+ + "*}/environments\332A\006parent\022\274\001\n\016GetEnvironm"
+ + "ent\0224.google.cloud.dialogflow.cx.v3.GetE"
+ + "nvironmentRequest\032*.google.cloud.dialogf"
+ + "low.cx.v3.Environment\"H\202\323\344\223\002;\0229/v3/{name"
+ + "=projects/*/locations/*/agents/*/environ"
+ + "ments/*}\332A\004name\022\371\001\n\021CreateEnvironment\0227."
+ + "google.cloud.dialogflow.cx.v3.CreateEnvi"
+ + "ronmentRequest\032\035.google.longrunning.Oper"
+ + "ation\"\213\001\202\323\344\223\002H\"9/v3/{parent=projects/*/l"
+ + "ocations/*/agents/*}/environments:\013envir"
+ + "onment\332A\022parent,environment\312A%\n\013Environm"
+ + "ent\022\026google.protobuf.Struct\022\212\002\n\021UpdateEn"
+ + "vironment\0227.google.cloud.dialogflow.cx.v"
+ + "3.UpdateEnvironmentRequest\032\035.google.long"
+ + "running.Operation\"\234\001\202\323\344\223\002T2E/v3/{environ"
+ + "ment.name=projects/*/locations/*/agents/"
+ + "*/environments/*}:\013environment\332A\027environ"
+ + "ment,update_mask\312A%\n\013Environment\022\026google"
+ + ".protobuf.Struct\022\256\001\n\021DeleteEnvironment\0227"
+ + ".google.cloud.dialogflow.cx.v3.DeleteEnv"
+ + "ironmentRequest\032\026.google.protobuf.Empty\""
+ + "H\202\323\344\223\002;*9/v3/{name=projects/*/locations/"
+ + "*/agents/*/environments/*}\332A\004name\022\376\001\n\030Lo"
+ + "okupEnvironmentHistory\022>.google.cloud.di"
+ + "alogflow.cx.v3.LookupEnvironmentHistoryR"
+ + "equest\032?.google.cloud.dialogflow.cx.v3.L"
+ + "ookupEnvironmentHistoryResponse\"a\202\323\344\223\002T\022"
+ + "R/v3/{name=projects/*/locations/*/agents"
+ + "/*/environments/*}:lookupEnvironmentHist"
+ + "ory\332A\004name\022\204\002\n\021RunContinuousTest\0227.googl"
+ + "e.cloud.dialogflow.cx.v3.RunContinuousTe"
+ + "stRequest\032\035.google.longrunning.Operation"
+ + "\"\226\001\202\323\344\223\002W\"R/v3/{environment=projects/*/l"
+ + "ocations/*/agents/*/environments/*}:runC"
+ + "ontinuousTest:\001*\312A6\n\031RunContinuousTestRe"
+ + "sponse\022\031RunContinuousTestMetadata\022\202\002\n\031Li"
+ + "stContinuousTestResults\022?.google.cloud.d"
+ + "ialogflow.cx.v3.ListContinuousTestResult"
+ + "sRequest\032@.google.cloud.dialogflow.cx.v3"
+ + ".ListContinuousTestResultsResponse\"b\202\323\344\223"
+ + "\002S\022Q/v3/{parent=projects/*/locations/*/a"
+ + "gents/*/environments/*}/continuousTestRe"
+ + "sults\332A\006parent\032x\312A\031dialogflow.googleapis"
+ + ".com\322AYhttps://www.googleapis.com/auth/c"
+ + "loud-platform,https://www.googleapis.com"
+ + "/auth/dialogflowB\240\001\n!com.google.cloud.di"
+ + "alogflow.cx.v3B\020EnvironmentProtoP\001Z?goog"
+ + "le.golang.org/genproto/googleapis/cloud/"
+ + "dialogflow/cx/v3;cx\370\001\001\242\002\002DF\252\002\035Google.Clo"
+ + "ud.Dialogflow.Cx.V3b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -260,6 +325,54 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Environments", "NextPageToken",
});
+ internal_static_google_cloud_dialogflow_cx_v3_ContinuousTestResult_descriptor =
+ getDescriptor().getMessageTypes().get(9);
+ internal_static_google_cloud_dialogflow_cx_v3_ContinuousTestResult_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3_ContinuousTestResult_descriptor,
+ new java.lang.String[] {
+ "Name", "Result", "TestCaseResults", "RunTime",
+ });
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestRequest_descriptor =
+ getDescriptor().getMessageTypes().get(10);
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestRequest_descriptor,
+ new java.lang.String[] {
+ "Environment",
+ });
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestResponse_descriptor =
+ getDescriptor().getMessageTypes().get(11);
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestResponse_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestResponse_descriptor,
+ new java.lang.String[] {
+ "ContinuousTestResult",
+ });
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestMetadata_descriptor =
+ getDescriptor().getMessageTypes().get(12);
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestMetadata_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestMetadata_descriptor,
+ new java.lang.String[] {
+ "Errors",
+ });
+ internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsRequest_descriptor =
+ getDescriptor().getMessageTypes().get(13);
+ internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsRequest_descriptor,
+ new java.lang.String[] {
+ "Parent", "PageSize", "PageToken",
+ });
+ internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsResponse_descriptor =
+ getDescriptor().getMessageTypes().get(14);
+ internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsResponse_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsResponse_descriptor,
+ new java.lang.String[] {
+ "ContinuousTestResults", "NextPageToken",
+ });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.ClientProto.defaultHost);
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListContinuousTestResultsRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListContinuousTestResultsRequest.java
new file mode 100644
index 000000000..2eddaa28f
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListContinuousTestResultsRequest.java
@@ -0,0 +1,950 @@
+/*
+ * 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/dialogflow/cx/v3/environment.proto
+
+package com.google.cloud.dialogflow.cx.v3;
+
+/**
+ *
+ *
+ * + * The request message for [Environments.ListContinuousTestResults][google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults]. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest} + */ +public final class ListContinuousTestResultsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest) + ListContinuousTestResultsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListContinuousTestResultsRequest.newBuilder() to construct. + private ListContinuousTestResultsRequest( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ListContinuousTestResultsRequest() { + parent_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListContinuousTestResultsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListContinuousTestResultsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3.EnvironmentProto + .internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.EnvironmentProto + .internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest.class, + com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+ * Required. The environment to list results for. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ + * environments/<Environment ID>`. + *+ * + *
+ * 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 environment to list results for. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ + * environments/<Environment ID>`. + *+ * + *
+ * 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 PAGE_SIZE_FIELD_NUMBER = 2;
+ private int pageSize_;
+ /**
+ *
+ *
+ * + * The maximum number of items to return in a single page. By default 100 and + * at most 1000. + *+ * + *
int32 page_size = 2;
+ *
+ * @return The pageSize.
+ */
+ @java.lang.Override
+ public int getPageSize() {
+ return pageSize_;
+ }
+
+ public static final int PAGE_TOKEN_FIELD_NUMBER = 3;
+ private volatile java.lang.Object pageToken_;
+ /**
+ *
+ *
+ * + * The next_page_token value returned from a previous list request. + *+ * + *
string page_token = 3;
+ *
+ * @return The pageToken.
+ */
+ @java.lang.Override
+ public java.lang.String getPageToken() {
+ java.lang.Object ref = pageToken_;
+ 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();
+ pageToken_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * The next_page_token value returned from a previous list request. + *+ * + *
string page_token = 3;
+ *
+ * @return The bytes for pageToken.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getPageTokenBytes() {
+ java.lang.Object ref = pageToken_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pageToken_ = 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 (!getParentBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+ }
+ if (pageSize_ != 0) {
+ output.writeInt32(2, pageSize_);
+ }
+ if (!getPageTokenBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getParentBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+ }
+ if (pageSize_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
+ }
+ if (!getPageTokenBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
+ }
+ size += unknownFields.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.dialogflow.cx.v3.ListContinuousTestResultsRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest other =
+ (com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest) obj;
+
+ if (!getParent().equals(other.getParent())) return false;
+ if (getPageSize() != other.getPageSize()) return false;
+ if (!getPageToken().equals(other.getPageToken())) return false;
+ if (!unknownFields.equals(other.unknownFields)) 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) + PAGE_SIZE_FIELD_NUMBER;
+ hash = (53 * hash) + getPageSize();
+ hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getPageToken().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest 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.dialogflow.cx.v3.ListContinuousTestResultsRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest 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.dialogflow.cx.v3.ListContinuousTestResultsRequest parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest 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.dialogflow.cx.v3.ListContinuousTestResultsRequest
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest
+ 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.dialogflow.cx.v3.ListContinuousTestResultsRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest 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.dialogflow.cx.v3.ListContinuousTestResultsRequest 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 message for [Environments.ListContinuousTestResults][google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults]. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The environment to list results for. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ + * environments/<Environment ID>`. + *+ * + *
+ * 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 environment to list results for. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ + * environments/<Environment ID>`. + *+ * + *
+ * 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 environment to list results for. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ + * environments/<Environment ID>`. + *+ * + *
+ * 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 environment to list results for. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ + * environments/<Environment ID>`. + *+ * + *
+ * 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 environment to list results for. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ + * environments/<Environment ID>`. + *+ * + *
+ * 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 int pageSize_;
+ /**
+ *
+ *
+ * + * The maximum number of items to return in a single page. By default 100 and + * at most 1000. + *+ * + *
int32 page_size = 2;
+ *
+ * @return The pageSize.
+ */
+ @java.lang.Override
+ public int getPageSize() {
+ return pageSize_;
+ }
+ /**
+ *
+ *
+ * + * The maximum number of items to return in a single page. By default 100 and + * at most 1000. + *+ * + *
int32 page_size = 2;
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageSize(int value) {
+
+ pageSize_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The maximum number of items to return in a single page. By default 100 and + * at most 1000. + *+ * + *
int32 page_size = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPageSize() {
+
+ pageSize_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object pageToken_ = "";
+ /**
+ *
+ *
+ * + * The next_page_token value returned from a previous list request. + *+ * + *
string page_token = 3;
+ *
+ * @return The pageToken.
+ */
+ public java.lang.String getPageToken() {
+ java.lang.Object ref = pageToken_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ pageToken_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The next_page_token value returned from a previous list request. + *+ * + *
string page_token = 3;
+ *
+ * @return The bytes for pageToken.
+ */
+ public com.google.protobuf.ByteString getPageTokenBytes() {
+ java.lang.Object ref = pageToken_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * The next_page_token value returned from a previous list request. + *+ * + *
string page_token = 3;
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageToken(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ pageToken_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The next_page_token value returned from a previous list request. + *+ * + *
string page_token = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPageToken() {
+
+ pageToken_ = getDefaultInstance().getPageToken();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The next_page_token value returned from a previous list request. + *+ * + *
string page_token = 3;
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ pageToken_ = 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.dialogflow.cx.v3.ListContinuousTestResultsRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest)
+ private static final com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsRequest
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. The environment to list results for. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ + * environments/<Environment ID>`. + *+ * + *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ java.lang.String getParent();
+ /**
+ *
+ *
+ * + * Required. The environment to list results for. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/ + * environments/<Environment ID>`. + *+ * + *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ * + * The maximum number of items to return in a single page. By default 100 and + * at most 1000. + *+ * + *
int32 page_size = 2;
+ *
+ * @return The pageSize.
+ */
+ int getPageSize();
+
+ /**
+ *
+ *
+ * + * The next_page_token value returned from a previous list request. + *+ * + *
string page_token = 3;
+ *
+ * @return The pageToken.
+ */
+ java.lang.String getPageToken();
+ /**
+ *
+ *
+ * + * The next_page_token value returned from a previous list request. + *+ * + *
string page_token = 3;
+ *
+ * @return The bytes for pageToken.
+ */
+ com.google.protobuf.ByteString getPageTokenBytes();
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListContinuousTestResultsResponse.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListContinuousTestResultsResponse.java
new file mode 100644
index 000000000..7e1d06d96
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/ListContinuousTestResultsResponse.java
@@ -0,0 +1,1215 @@
+/*
+ * 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/dialogflow/cx/v3/environment.proto
+
+package com.google.cloud.dialogflow.cx.v3;
+
+/**
+ *
+ *
+ * + * The response message for [Environments.ListTestCaseResults][]. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse} + */ +public final class ListContinuousTestResultsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse) + ListContinuousTestResultsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListContinuousTestResultsResponse.newBuilder() to construct. + private ListContinuousTestResultsResponse( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ListContinuousTestResultsResponse() { + continuousTestResults_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListContinuousTestResultsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListContinuousTestResultsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + continuousTestResults_ = + new java.util.ArrayList< + com.google.cloud.dialogflow.cx.v3.ContinuousTestResult>(); + mutable_bitField0_ |= 0x00000001; + } + continuousTestResults_.add( + input.readMessage( + com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.parser(), + extensionRegistry)); + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + continuousTestResults_ = java.util.Collections.unmodifiableList(continuousTestResults_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3.EnvironmentProto + .internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.EnvironmentProto + .internal_static_google_cloud_dialogflow_cx_v3_ListContinuousTestResultsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse.class, + com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse.Builder.class); + } + + public static final int CONTINUOUS_TEST_RESULTS_FIELD_NUMBER = 1; + private java.util.List
+ * The list of continuous test results. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.List+ * The list of continuous test results. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.dialogflow.cx.v3.ContinuousTestResultOrBuilder>
+ getContinuousTestResultsOrBuilderList() {
+ return continuousTestResults_;
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ @java.lang.Override
+ public int getContinuousTestResultsCount() {
+ return continuousTestResults_.size();
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResult getContinuousTestResults(
+ int index) {
+ return continuousTestResults_.get(index);
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResultOrBuilder
+ getContinuousTestResultsOrBuilder(int index) {
+ return continuousTestResults_.get(index);
+ }
+
+ public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+ private volatile java.lang.Object nextPageToken_;
+ /**
+ *
+ *
+ * + * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + *+ * + *
string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ @java.lang.Override
+ public java.lang.String getNextPageToken() {
+ java.lang.Object ref = nextPageToken_;
+ 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();
+ nextPageToken_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + *+ * + *
string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNextPageTokenBytes() {
+ java.lang.Object ref = nextPageToken_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ nextPageToken_ = 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 {
+ for (int i = 0; i < continuousTestResults_.size(); i++) {
+ output.writeMessage(1, continuousTestResults_.get(i));
+ }
+ if (!getNextPageTokenBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < continuousTestResults_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1, continuousTestResults_.get(i));
+ }
+ if (!getNextPageTokenBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
+ }
+ size += unknownFields.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.dialogflow.cx.v3.ListContinuousTestResultsResponse)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse other =
+ (com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse) obj;
+
+ if (!getContinuousTestResultsList().equals(other.getContinuousTestResultsList())) return false;
+ if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getContinuousTestResultsCount() > 0) {
+ hash = (37 * hash) + CONTINUOUS_TEST_RESULTS_FIELD_NUMBER;
+ hash = (53 * hash) + getContinuousTestResultsList().hashCode();
+ }
+ hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getNextPageToken().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse 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.dialogflow.cx.v3.ListContinuousTestResultsResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse 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.dialogflow.cx.v3.ListContinuousTestResultsResponse parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse 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.dialogflow.cx.v3.ListContinuousTestResultsResponse
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse
+ 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.dialogflow.cx.v3.ListContinuousTestResultsResponse parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse 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.dialogflow.cx.v3.ListContinuousTestResultsResponse 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 message for [Environments.ListTestCaseResults][]. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public java.util.List+ * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public int getContinuousTestResultsCount() {
+ if (continuousTestResultsBuilder_ == null) {
+ return continuousTestResults_.size();
+ } else {
+ return continuousTestResultsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResult getContinuousTestResults(
+ int index) {
+ if (continuousTestResultsBuilder_ == null) {
+ return continuousTestResults_.get(index);
+ } else {
+ return continuousTestResultsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public Builder setContinuousTestResults(
+ int index, com.google.cloud.dialogflow.cx.v3.ContinuousTestResult value) {
+ if (continuousTestResultsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureContinuousTestResultsIsMutable();
+ continuousTestResults_.set(index, value);
+ onChanged();
+ } else {
+ continuousTestResultsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public Builder setContinuousTestResults(
+ int index, com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.Builder builderForValue) {
+ if (continuousTestResultsBuilder_ == null) {
+ ensureContinuousTestResultsIsMutable();
+ continuousTestResults_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ continuousTestResultsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public Builder addContinuousTestResults(
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult value) {
+ if (continuousTestResultsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureContinuousTestResultsIsMutable();
+ continuousTestResults_.add(value);
+ onChanged();
+ } else {
+ continuousTestResultsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public Builder addContinuousTestResults(
+ int index, com.google.cloud.dialogflow.cx.v3.ContinuousTestResult value) {
+ if (continuousTestResultsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureContinuousTestResultsIsMutable();
+ continuousTestResults_.add(index, value);
+ onChanged();
+ } else {
+ continuousTestResultsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public Builder addContinuousTestResults(
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.Builder builderForValue) {
+ if (continuousTestResultsBuilder_ == null) {
+ ensureContinuousTestResultsIsMutable();
+ continuousTestResults_.add(builderForValue.build());
+ onChanged();
+ } else {
+ continuousTestResultsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public Builder addContinuousTestResults(
+ int index, com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.Builder builderForValue) {
+ if (continuousTestResultsBuilder_ == null) {
+ ensureContinuousTestResultsIsMutable();
+ continuousTestResults_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ continuousTestResultsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public Builder addAllContinuousTestResults(
+ java.lang.Iterable extends com.google.cloud.dialogflow.cx.v3.ContinuousTestResult>
+ values) {
+ if (continuousTestResultsBuilder_ == null) {
+ ensureContinuousTestResultsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, continuousTestResults_);
+ onChanged();
+ } else {
+ continuousTestResultsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public Builder clearContinuousTestResults() {
+ if (continuousTestResultsBuilder_ == null) {
+ continuousTestResults_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ continuousTestResultsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public Builder removeContinuousTestResults(int index) {
+ if (continuousTestResultsBuilder_ == null) {
+ ensureContinuousTestResultsIsMutable();
+ continuousTestResults_.remove(index);
+ onChanged();
+ } else {
+ continuousTestResultsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.Builder
+ getContinuousTestResultsBuilder(int index) {
+ return getContinuousTestResultsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResultOrBuilder
+ getContinuousTestResultsOrBuilder(int index) {
+ if (continuousTestResultsBuilder_ == null) {
+ return continuousTestResults_.get(index);
+ } else {
+ return continuousTestResultsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public java.util.List extends com.google.cloud.dialogflow.cx.v3.ContinuousTestResultOrBuilder>
+ getContinuousTestResultsOrBuilderList() {
+ if (continuousTestResultsBuilder_ != null) {
+ return continuousTestResultsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(continuousTestResults_);
+ }
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.Builder
+ addContinuousTestResultsBuilder() {
+ return getContinuousTestResultsFieldBuilder()
+ .addBuilder(com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.Builder
+ addContinuousTestResultsBuilder(int index) {
+ return getContinuousTestResultsFieldBuilder()
+ .addBuilder(
+ index, com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
+ * repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ public java.util.List+ * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + *+ * + *
string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ public java.lang.String getNextPageToken() {
+ java.lang.Object ref = nextPageToken_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ nextPageToken_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + *+ * + *
string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ public com.google.protobuf.ByteString getNextPageTokenBytes() {
+ java.lang.Object ref = nextPageToken_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ nextPageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + *+ * + *
string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNextPageToken(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ nextPageToken_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + *+ * + *
string next_page_token = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearNextPageToken() {
+
+ nextPageToken_ = getDefaultInstance().getNextPageToken();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + *+ * + *
string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ nextPageToken_ = 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.dialogflow.cx.v3.ListContinuousTestResultsResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse)
+ private static final com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The list of continuous test results. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ java.util.List+ * The list of continuous test results. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult getContinuousTestResults(int index);
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ int getContinuousTestResultsCount();
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ java.util.List extends com.google.cloud.dialogflow.cx.v3.ContinuousTestResultOrBuilder>
+ getContinuousTestResultsOrBuilderList();
+ /**
+ *
+ *
+ * + * The list of continuous test results. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_results = 1;
+ *
+ */
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResultOrBuilder getContinuousTestResultsOrBuilder(
+ int index);
+
+ /**
+ *
+ *
+ * + * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + *+ * + *
string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ java.lang.String getNextPageToken();
+ /**
+ *
+ *
+ * + * Token to retrieve the next page of results, or empty if there are no more + * results in the list. + *+ * + *
string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ com.google.protobuf.ByteString getNextPageTokenBytes();
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/RunContinuousTestMetadata.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/RunContinuousTestMetadata.java
new file mode 100644
index 000000000..d2d13c27e
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/RunContinuousTestMetadata.java
@@ -0,0 +1,952 @@
+/*
+ * 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/dialogflow/cx/v3/environment.proto
+
+package com.google.cloud.dialogflow.cx.v3;
+
+/**
+ *
+ *
+ * + * Metadata returned for the [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest] long running + * operation. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata} + */ +public final class RunContinuousTestMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata) + RunContinuousTestMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use RunContinuousTestMetadata.newBuilder() to construct. + private RunContinuousTestMetadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private RunContinuousTestMetadata() { + errors_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RunContinuousTestMetadata(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RunContinuousTestMetadata( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + errors_ = new java.util.ArrayList
+ * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ @java.lang.Override
+ public java.util.List+ * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.cloud.dialogflow.cx.v3.TestErrorOrBuilder>
+ getErrorsOrBuilderList() {
+ return errors_;
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ @java.lang.Override
+ public int getErrorsCount() {
+ return errors_.size();
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.TestError getErrors(int index) {
+ return errors_.get(index);
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.TestErrorOrBuilder getErrorsOrBuilder(int index) {
+ return errors_.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 {
+ for (int i = 0; i < errors_.size(); i++) {
+ output.writeMessage(1, errors_.get(i));
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < errors_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, errors_.get(i));
+ }
+ size += unknownFields.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.dialogflow.cx.v3.RunContinuousTestMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata other =
+ (com.google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata) obj;
+
+ if (!getErrorsList().equals(other.getErrorsList())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getErrorsCount() > 0) {
+ hash = (37 * hash) + ERRORS_FIELD_NUMBER;
+ hash = (53 * hash) + getErrorsList().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata 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.dialogflow.cx.v3.RunContinuousTestMetadata parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata 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.dialogflow.cx.v3.RunContinuousTestMetadata parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata 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.dialogflow.cx.v3.RunContinuousTestMetadata parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata 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.dialogflow.cx.v3.RunContinuousTestMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata 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.dialogflow.cx.v3.RunContinuousTestMetadata 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;
+ }
+ /**
+ *
+ *
+ * + * Metadata returned for the [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest] long running + * operation. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public java.util.List+ * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public int getErrorsCount() {
+ if (errorsBuilder_ == null) {
+ return errors_.size();
+ } else {
+ return errorsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public com.google.cloud.dialogflow.cx.v3.TestError getErrors(int index) {
+ if (errorsBuilder_ == null) {
+ return errors_.get(index);
+ } else {
+ return errorsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public Builder setErrors(int index, com.google.cloud.dialogflow.cx.v3.TestError value) {
+ if (errorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureErrorsIsMutable();
+ errors_.set(index, value);
+ onChanged();
+ } else {
+ errorsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public Builder setErrors(
+ int index, com.google.cloud.dialogflow.cx.v3.TestError.Builder builderForValue) {
+ if (errorsBuilder_ == null) {
+ ensureErrorsIsMutable();
+ errors_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ errorsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public Builder addErrors(com.google.cloud.dialogflow.cx.v3.TestError value) {
+ if (errorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureErrorsIsMutable();
+ errors_.add(value);
+ onChanged();
+ } else {
+ errorsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public Builder addErrors(int index, com.google.cloud.dialogflow.cx.v3.TestError value) {
+ if (errorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureErrorsIsMutable();
+ errors_.add(index, value);
+ onChanged();
+ } else {
+ errorsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public Builder addErrors(com.google.cloud.dialogflow.cx.v3.TestError.Builder builderForValue) {
+ if (errorsBuilder_ == null) {
+ ensureErrorsIsMutable();
+ errors_.add(builderForValue.build());
+ onChanged();
+ } else {
+ errorsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public Builder addErrors(
+ int index, com.google.cloud.dialogflow.cx.v3.TestError.Builder builderForValue) {
+ if (errorsBuilder_ == null) {
+ ensureErrorsIsMutable();
+ errors_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ errorsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public Builder addAllErrors(
+ java.lang.Iterable extends com.google.cloud.dialogflow.cx.v3.TestError> values) {
+ if (errorsBuilder_ == null) {
+ ensureErrorsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_);
+ onChanged();
+ } else {
+ errorsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public Builder clearErrors() {
+ if (errorsBuilder_ == null) {
+ errors_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ errorsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public Builder removeErrors(int index) {
+ if (errorsBuilder_ == null) {
+ ensureErrorsIsMutable();
+ errors_.remove(index);
+ onChanged();
+ } else {
+ errorsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public com.google.cloud.dialogflow.cx.v3.TestError.Builder getErrorsBuilder(int index) {
+ return getErrorsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public com.google.cloud.dialogflow.cx.v3.TestErrorOrBuilder getErrorsOrBuilder(int index) {
+ if (errorsBuilder_ == null) {
+ return errors_.get(index);
+ } else {
+ return errorsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public java.util.List extends com.google.cloud.dialogflow.cx.v3.TestErrorOrBuilder>
+ getErrorsOrBuilderList() {
+ if (errorsBuilder_ != null) {
+ return errorsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(errors_);
+ }
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public com.google.cloud.dialogflow.cx.v3.TestError.Builder addErrorsBuilder() {
+ return getErrorsFieldBuilder()
+ .addBuilder(com.google.cloud.dialogflow.cx.v3.TestError.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public com.google.cloud.dialogflow.cx.v3.TestError.Builder addErrorsBuilder(int index) {
+ return getErrorsFieldBuilder()
+ .addBuilder(index, com.google.cloud.dialogflow.cx.v3.TestError.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ public java.util.List+ * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ java.util.List+ * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ com.google.cloud.dialogflow.cx.v3.TestError getErrors(int index);
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ int getErrorsCount();
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ java.util.List extends com.google.cloud.dialogflow.cx.v3.TestErrorOrBuilder>
+ getErrorsOrBuilderList();
+ /**
+ *
+ *
+ * + * The test errors. + *+ * + *
repeated .google.cloud.dialogflow.cx.v3.TestError errors = 1;
+ */
+ com.google.cloud.dialogflow.cx.v3.TestErrorOrBuilder getErrorsOrBuilder(int index);
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/RunContinuousTestRequest.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/RunContinuousTestRequest.java
new file mode 100644
index 000000000..21f599852
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/RunContinuousTestRequest.java
@@ -0,0 +1,658 @@
+/*
+ * 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/dialogflow/cx/v3/environment.proto
+
+package com.google.cloud.dialogflow.cx.v3;
+
+/**
+ *
+ *
+ * + * The request message for [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest]. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.RunContinuousTestRequest} + */ +public final class RunContinuousTestRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.RunContinuousTestRequest) + RunContinuousTestRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RunContinuousTestRequest.newBuilder() to construct. + private RunContinuousTestRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private RunContinuousTestRequest() { + environment_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RunContinuousTestRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RunContinuousTestRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + environment_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3.EnvironmentProto + .internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.EnvironmentProto + .internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest.class, + com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest.Builder.class); + } + + public static final int ENVIRONMENT_FIELD_NUMBER = 1; + private volatile java.lang.Object environment_; + /** + * + * + *
+ * Required. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment ID>`. + *+ * + *
+ * string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The environment.
+ */
+ @java.lang.Override
+ public java.lang.String getEnvironment() {
+ java.lang.Object ref = environment_;
+ 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();
+ environment_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment ID>`. + *+ * + *
+ * string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for environment.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getEnvironmentBytes() {
+ java.lang.Object ref = environment_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ environment_ = 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 (!getEnvironmentBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, environment_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!getEnvironmentBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, environment_);
+ }
+ size += unknownFields.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.dialogflow.cx.v3.RunContinuousTestRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest other =
+ (com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest) obj;
+
+ if (!getEnvironment().equals(other.getEnvironment())) return false;
+ if (!unknownFields.equals(other.unknownFields)) 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) + ENVIRONMENT_FIELD_NUMBER;
+ hash = (53 * hash) + getEnvironment().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest 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.dialogflow.cx.v3.RunContinuousTestRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest 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.dialogflow.cx.v3.RunContinuousTestRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest 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.dialogflow.cx.v3.RunContinuousTestRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest 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.dialogflow.cx.v3.RunContinuousTestRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest 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.dialogflow.cx.v3.RunContinuousTestRequest 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 message for [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest]. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.RunContinuousTestRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment ID>`. + *+ * + *
+ * string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The environment.
+ */
+ public java.lang.String getEnvironment() {
+ java.lang.Object ref = environment_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ environment_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment ID>`. + *+ * + *
+ * string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for environment.
+ */
+ public com.google.protobuf.ByteString getEnvironmentBytes() {
+ java.lang.Object ref = environment_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ environment_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment ID>`. + *+ * + *
+ * string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The environment to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEnvironment(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ environment_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment ID>`. + *+ * + *
+ * string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEnvironment() {
+
+ environment_ = getDefaultInstance().getEnvironment();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment ID>`. + *+ * + *
+ * string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for environment to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEnvironmentBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ environment_ = 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.dialogflow.cx.v3.RunContinuousTestRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.RunContinuousTestRequest)
+ private static final com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment ID>`. + *+ * + *
+ * string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The environment.
+ */
+ java.lang.String getEnvironment();
+ /**
+ *
+ *
+ * + * Required. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/environments/<Environment ID>`. + *+ * + *
+ * string environment = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for environment.
+ */
+ com.google.protobuf.ByteString getEnvironmentBytes();
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/RunContinuousTestResponse.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/RunContinuousTestResponse.java
new file mode 100644
index 000000000..d577f7311
--- /dev/null
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/RunContinuousTestResponse.java
@@ -0,0 +1,743 @@
+/*
+ * 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/dialogflow/cx/v3/environment.proto
+
+package com.google.cloud.dialogflow.cx.v3;
+
+/**
+ *
+ *
+ * + * The response message for [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest]. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.RunContinuousTestResponse} + */ +public final class RunContinuousTestResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.dialogflow.cx.v3.RunContinuousTestResponse) + RunContinuousTestResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use RunContinuousTestResponse.newBuilder() to construct. + private RunContinuousTestResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private RunContinuousTestResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RunContinuousTestResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RunContinuousTestResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.Builder subBuilder = null; + if (continuousTestResult_ != null) { + subBuilder = continuousTestResult_.toBuilder(); + } + continuousTestResult_ = + input.readMessage( + com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(continuousTestResult_); + continuousTestResult_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dialogflow.cx.v3.EnvironmentProto + .internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dialogflow.cx.v3.EnvironmentProto + .internal_static_google_cloud_dialogflow_cx_v3_RunContinuousTestResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse.class, + com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse.Builder.class); + } + + public static final int CONTINUOUS_TEST_RESULT_FIELD_NUMBER = 1; + private com.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuousTestResult_; + /** + * + * + *
+ * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ *
+ * @return Whether the continuousTestResult field is set.
+ */
+ @java.lang.Override
+ public boolean hasContinuousTestResult() {
+ return continuousTestResult_ != null;
+ }
+ /**
+ *
+ *
+ * + * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ *
+ * @return The continuousTestResult.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResult getContinuousTestResult() {
+ return continuousTestResult_ == null
+ ? com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.getDefaultInstance()
+ : continuousTestResult_;
+ }
+ /**
+ *
+ *
+ * + * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResultOrBuilder
+ getContinuousTestResultOrBuilder() {
+ return getContinuousTestResult();
+ }
+
+ 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 (continuousTestResult_ != null) {
+ output.writeMessage(1, getContinuousTestResult());
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (continuousTestResult_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(1, getContinuousTestResult());
+ }
+ size += unknownFields.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.dialogflow.cx.v3.RunContinuousTestResponse)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse other =
+ (com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse) obj;
+
+ if (hasContinuousTestResult() != other.hasContinuousTestResult()) return false;
+ if (hasContinuousTestResult()) {
+ if (!getContinuousTestResult().equals(other.getContinuousTestResult())) return false;
+ }
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasContinuousTestResult()) {
+ hash = (37 * hash) + CONTINUOUS_TEST_RESULT_FIELD_NUMBER;
+ hash = (53 * hash) + getContinuousTestResult().hashCode();
+ }
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse 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.dialogflow.cx.v3.RunContinuousTestResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse 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.dialogflow.cx.v3.RunContinuousTestResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse 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.dialogflow.cx.v3.RunContinuousTestResponse parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse 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.dialogflow.cx.v3.RunContinuousTestResponse parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse 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.dialogflow.cx.v3.RunContinuousTestResponse 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 message for [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest]. + *+ * + * Protobuf type {@code google.cloud.dialogflow.cx.v3.RunContinuousTestResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ *
+ * @return Whether the continuousTestResult field is set.
+ */
+ public boolean hasContinuousTestResult() {
+ return continuousTestResultBuilder_ != null || continuousTestResult_ != null;
+ }
+ /**
+ *
+ *
+ * + * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ *
+ * @return The continuousTestResult.
+ */
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResult getContinuousTestResult() {
+ if (continuousTestResultBuilder_ == null) {
+ return continuousTestResult_ == null
+ ? com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.getDefaultInstance()
+ : continuousTestResult_;
+ } else {
+ return continuousTestResultBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ */
+ public Builder setContinuousTestResult(
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult value) {
+ if (continuousTestResultBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ continuousTestResult_ = value;
+ onChanged();
+ } else {
+ continuousTestResultBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ */
+ public Builder setContinuousTestResult(
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.Builder builderForValue) {
+ if (continuousTestResultBuilder_ == null) {
+ continuousTestResult_ = builderForValue.build();
+ onChanged();
+ } else {
+ continuousTestResultBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ */
+ public Builder mergeContinuousTestResult(
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult value) {
+ if (continuousTestResultBuilder_ == null) {
+ if (continuousTestResult_ != null) {
+ continuousTestResult_ =
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.newBuilder(
+ continuousTestResult_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ continuousTestResult_ = value;
+ }
+ onChanged();
+ } else {
+ continuousTestResultBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ */
+ public Builder clearContinuousTestResult() {
+ if (continuousTestResultBuilder_ == null) {
+ continuousTestResult_ = null;
+ onChanged();
+ } else {
+ continuousTestResult_ = null;
+ continuousTestResultBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ */
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.Builder
+ getContinuousTestResultBuilder() {
+
+ onChanged();
+ return getContinuousTestResultFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ */
+ public com.google.cloud.dialogflow.cx.v3.ContinuousTestResultOrBuilder
+ getContinuousTestResultOrBuilder() {
+ if (continuousTestResultBuilder_ != null) {
+ return continuousTestResultBuilder_.getMessageOrBuilder();
+ } else {
+ return continuousTestResult_ == null
+ ? com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.getDefaultInstance()
+ : continuousTestResult_;
+ }
+ }
+ /**
+ *
+ *
+ * + * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult,
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.Builder,
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResultOrBuilder>
+ getContinuousTestResultFieldBuilder() {
+ if (continuousTestResultBuilder_ == null) {
+ continuousTestResultBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult,
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult.Builder,
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResultOrBuilder>(
+ getContinuousTestResult(), getParentForChildren(), isClean());
+ continuousTestResult_ = null;
+ }
+ return continuousTestResultBuilder_;
+ }
+
+ @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.dialogflow.cx.v3.RunContinuousTestResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.dialogflow.cx.v3.RunContinuousTestResponse)
+ private static final com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse();
+ }
+
+ public static com.google.cloud.dialogflow.cx.v3.RunContinuousTestResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ *
+ * @return Whether the continuousTestResult field is set.
+ */
+ boolean hasContinuousTestResult();
+ /**
+ *
+ *
+ * + * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ *
+ * @return The continuousTestResult.
+ */
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResult getContinuousTestResult();
+ /**
+ *
+ *
+ * + * The result for a continuous test run. + *+ * + *
.google.cloud.dialogflow.cx.v3.ContinuousTestResult continuous_test_result = 1;
+ */
+ com.google.cloud.dialogflow.cx.v3.ContinuousTestResultOrBuilder
+ getContinuousTestResultOrBuilder();
+}
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/audio_config.proto b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/audio_config.proto
index dc9c911b9..e444bbe6b 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/audio_config.proto
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/audio_config.proto
@@ -29,31 +29,6 @@ option java_outer_classname = "AudioConfigProto";
option java_package = "com.google.cloud.dialogflow.cx.v3";
option objc_class_prefix = "DF";
-// Information for a word recognized by the speech recognizer.
-message SpeechWordInfo {
- // The word this info is for.
- string word = 3;
-
- // Time offset relative to the beginning of the audio that corresponds to the
- // start of the spoken word. This is an experimental feature and the accuracy
- // of the time offset can vary.
- google.protobuf.Duration start_offset = 1;
-
- // Time offset relative to the beginning of the audio that corresponds to the
- // end of the spoken word. This is an experimental feature and the accuracy of
- // the time offset can vary.
- google.protobuf.Duration end_offset = 2;
-
- // The Speech confidence between 0.0 and 1.0 for this word. A higher number
- // indicates an estimated greater likelihood that the recognized word is
- // correct. The default of 0.0 is a sentinel value indicating that confidence
- // was not set.
- //
- // This field is not guaranteed to be fully stable over time for the same
- // audio input. Users should also not rely on it to always be provided.
- float confidence = 4;
-}
-
// Audio encoding of the audio content sent in the conversational query request.
// Refer to the
// [Cloud Speech API
@@ -103,6 +78,31 @@ enum AudioEncoding {
AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7;
}
+// Information for a word recognized by the speech recognizer.
+message SpeechWordInfo {
+ // The word this info is for.
+ string word = 3;
+
+ // Time offset relative to the beginning of the audio that corresponds to the
+ // start of the spoken word. This is an experimental feature and the accuracy
+ // of the time offset can vary.
+ google.protobuf.Duration start_offset = 1;
+
+ // Time offset relative to the beginning of the audio that corresponds to the
+ // end of the spoken word. This is an experimental feature and the accuracy of
+ // the time offset can vary.
+ google.protobuf.Duration end_offset = 2;
+
+ // The Speech confidence between 0.0 and 1.0 for this word. A higher number
+ // indicates an estimated greater likelihood that the recognized word is
+ // correct. The default of 0.0 is a sentinel value indicating that confidence
+ // was not set.
+ //
+ // This field is not guaranteed to be fully stable over time for the same
+ // audio input. Users should also not rely on it to always be provided.
+ float confidence = 4;
+}
+
// Instructs the speech recognizer on how to process the audio content.
message InputAudioConfig {
// Required. Audio encoding of the audio content to process.
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/environment.proto b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/environment.proto
index a1ac901e5..b5670def7 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/environment.proto
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/environment.proto
@@ -98,6 +98,26 @@ service Environments {
};
option (google.api.method_signature) = "name";
}
+
+ // Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
+ rpc RunContinuousTest(RunContinuousTestRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v3/{environment=projects/*/locations/*/agents/*/environments/*}:runContinuousTest"
+ body: "*"
+ };
+ option (google.longrunning.operation_info) = {
+ response_type: "RunContinuousTestResponse"
+ metadata_type: "RunContinuousTestMetadata"
+ };
+ }
+
+ // Fetches a list of continuous test results for a given environment.
+ rpc ListContinuousTestResults(ListContinuousTestResultsRequest) returns (ListContinuousTestResultsResponse) {
+ option (google.api.http) = {
+ get: "/v3/{parent=projects/*/locations/*/agents/*/environments/*}/continuousTestResults"
+ };
+ option (google.api.method_signature) = "parent";
+ }
}
// Represents an environment for an agent. You can create multiple versions
@@ -261,3 +281,96 @@ message LookupEnvironmentHistoryResponse {
// results in the list.
string next_page_token = 2;
}
+
+// Represents a result from running a test case in an agent environment.
+message ContinuousTestResult {
+ option (google.api.resource) = {
+ type: "dialogflow.googleapis.com/ContinuousTestResult"
+ pattern: "projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/continuousTestResults/{continuous_test_result}"
+ };
+
+ // The overall result for a continuous test run in an agent environment.
+ enum AggregatedTestResult {
+ // Not specified. Should never be used.
+ AGGREGATED_TEST_RESULT_UNSPECIFIED = 0;
+
+ // All the tests passed.
+ PASSED = 1;
+
+ // At least one test did not pass.
+ FAILED = 2;
+ }
+
+ // The resource name for the continuous test result. Format:
+ // `projects/+ * Whether sentiment analysis is enabled. + *+ * + *
bool enable_sentiment_analysis = 7;
+ *
+ * @return The enableSentimentAnalysis.
+ */
+ boolean getEnableSentimentAnalysis();
}
/**
*
@@ -320,6 +333,11 @@ private UserInput(
input_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 56:
+ {
+ enableSentimentAnalysis_ = input.readBool();
break;
}
default:
@@ -478,6 +496,24 @@ public boolean getIsWebhookEnabled() {
return isWebhookEnabled_;
}
+ public static final int ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER = 7;
+ private boolean enableSentimentAnalysis_;
+ /**
+ *
+ *
+ * + * Whether sentiment analysis is enabled. + *+ * + *
bool enable_sentiment_analysis = 7;
+ *
+ * @return The enableSentimentAnalysis.
+ */
+ @java.lang.Override
+ public boolean getEnableSentimentAnalysis() {
+ return enableSentimentAnalysis_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -501,6 +537,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (input_ != null) {
output.writeMessage(5, getInput());
}
+ if (enableSentimentAnalysis_ != false) {
+ output.writeBool(7, enableSentimentAnalysis_);
+ }
unknownFields.writeTo(output);
}
@@ -520,6 +559,9 @@ public int getSerializedSize() {
if (input_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInput());
}
+ if (enableSentimentAnalysis_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, enableSentimentAnalysis_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -545,6 +587,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getInjectedParameters().equals(other.getInjectedParameters())) return false;
}
if (getIsWebhookEnabled() != other.getIsWebhookEnabled()) return false;
+ if (getEnableSentimentAnalysis() != other.getEnableSentimentAnalysis()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -566,6 +609,8 @@ public int hashCode() {
}
hash = (37 * hash) + IS_WEBHOOK_ENABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsWebhookEnabled());
+ hash = (37 * hash) + ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSentimentAnalysis());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -728,6 +773,8 @@ public Builder clear() {
}
isWebhookEnabled_ = false;
+ enableSentimentAnalysis_ = false;
+
return this;
}
@@ -767,6 +814,7 @@ public com.google.cloud.dialogflow.cx.v3.ConversationTurn.UserInput buildPartial
result.injectedParameters_ = injectedParametersBuilder_.build();
}
result.isWebhookEnabled_ = isWebhookEnabled_;
+ result.enableSentimentAnalysis_ = enableSentimentAnalysis_;
onBuilt();
return result;
}
@@ -829,6 +877,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3.ConversationTurn.User
if (other.getIsWebhookEnabled() != false) {
setIsWebhookEnabled(other.getIsWebhookEnabled());
}
+ if (other.getEnableSentimentAnalysis() != false) {
+ setEnableSentimentAnalysis(other.getEnableSentimentAnalysis());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1307,6 +1358,58 @@ public Builder clearIsWebhookEnabled() {
return this;
}
+ private boolean enableSentimentAnalysis_;
+ /**
+ *
+ *
+ * + * Whether sentiment analysis is enabled. + *+ * + *
bool enable_sentiment_analysis = 7;
+ *
+ * @return The enableSentimentAnalysis.
+ */
+ @java.lang.Override
+ public boolean getEnableSentimentAnalysis() {
+ return enableSentimentAnalysis_;
+ }
+ /**
+ *
+ *
+ * + * Whether sentiment analysis is enabled. + *+ * + *
bool enable_sentiment_analysis = 7;
+ *
+ * @param value The enableSentimentAnalysis to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEnableSentimentAnalysis(boolean value) {
+
+ enableSentimentAnalysis_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Whether sentiment analysis is enabled. + *+ * + *
bool enable_sentiment_analysis = 7;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEnableSentimentAnalysis() {
+
+ enableSentimentAnalysis_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TestCaseProto.java b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TestCaseProto.java
index 1c0ff8a6b..ff295ec14 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TestCaseProto.java
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/java/com/google/cloud/dialogflow/cx/v3/TestCaseProto.java
@@ -237,227 +237,228 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ation}/agents/{agent}/testCases/{test_ca"
+ "se}/results/{result}\"\\\n\nTestConfig\022\033\n\023tr"
+ "acking_parameters\030\001 \003(\t\0221\n\004flow\030\002 \001(\tB#\372"
- + "A \n\036dialogflow.googleapis.com/Flow\"\234\006\n\020C"
+ + "A \n\036dialogflow.googleapis.com/Flow\"\277\006\n\020C"
+ "onversationTurn\022M\n\nuser_input\030\001 \001(\01329.go"
+ "ogle.cloud.dialogflow.cx.v3.Conversation"
+ "Turn.UserInput\022`\n\024virtual_agent_output\030\002"
+ " \001(\0132B.google.cloud.dialogflow.cx.v3.Con"
- + "versationTurn.VirtualAgentOutput\032\227\001\n\tUse"
+ + "versationTurn.VirtualAgentOutput\032\272\001\n\tUse"
+ "rInput\0228\n\005input\030\005 \001(\0132).google.cloud.dia"
+ "logflow.cx.v3.QueryInput\0224\n\023injected_par"
+ "ameters\030\002 \001(\0132\027.google.protobuf.Struct\022\032"
- + "\n\022is_webhook_enabled\030\003 \001(\010\032\274\003\n\022VirtualAg"
- + "entOutput\0223\n\022session_parameters\030\004 \001(\0132\027."
- + "google.protobuf.Struct\022J\n\013differences\030\005 "
- + "\003(\01320.google.cloud.dialogflow.cx.v3.Test"
- + "RunDifferenceB\003\340A\003\0228\n\017diagnostic_info\030\006 "
- + "\001(\0132\027.google.protobuf.StructB\006\340A\002\340A\004\022?\n\020"
- + "triggered_intent\030\007 \001(\0132%.google.cloud.di"
- + "alogflow.cx.v3.Intent\0229\n\014current_page\030\010 "
- + "\001(\0132#.google.cloud.dialogflow.cx.v3.Page"
- + "\022K\n\016text_responses\030\t \003(\01323.google.cloud."
- + "dialogflow.cx.v3.ResponseMessage.Text\022\"\n"
- + "\006status\030\n \001(\0132\022.google.rpc.Status\"\315\001\n\021Te"
- + "stRunDifference\022G\n\004type\030\001 \001(\01629.google.c"
- + "loud.dialogflow.cx.v3.TestRunDifference."
- + "DiffType\022\023\n\013description\030\002 \001(\t\"Z\n\010DiffTyp"
- + "e\022\031\n\025DIFF_TYPE_UNSPECIFIED\020\000\022\n\n\006INTENT\020\001"
- + "\022\010\n\004PAGE\020\002\022\016\n\nPARAMETERS\020\003\022\r\n\tUTTERANCE\020"
- + "\004\"\363\004\n\022TransitionCoverage\022Q\n\013transitions\030"
- + "\001 \003(\0132<.google.cloud.dialogflow.cx.v3.Tr"
- + "ansitionCoverage.Transition\022\026\n\016coverage_"
- + "score\030\002 \001(\002\032\202\001\n\016TransitionNode\0223\n\004page\030\001"
- + " \001(\0132#.google.cloud.dialogflow.cx.v3.Pag"
- + "eH\000\0223\n\004flow\030\002 \001(\0132#.google.cloud.dialogf"
- + "low.cx.v3.FlowH\000B\006\n\004kind\032\354\002\n\nTransition\022"
- + "P\n\006source\030\001 \001(\0132@.google.cloud.dialogflo"
- + "w.cx.v3.TransitionCoverage.TransitionNod"
- + "e\022\r\n\005index\030\004 \001(\005\022P\n\006target\030\002 \001(\0132@.googl"
- + "e.cloud.dialogflow.cx.v3.TransitionCover"
- + "age.TransitionNode\022\017\n\007covered\030\003 \001(\010\022J\n\020t"
- + "ransition_route\030\005 \001(\0132..google.cloud.dia"
- + "logflow.cx.v3.TransitionRouteH\000\022D\n\revent"
- + "_handler\030\006 \001(\0132+.google.cloud.dialogflow"
- + ".cx.v3.EventHandlerH\000B\010\n\006detail\"\315\003\n\034Tran"
- + "sitionRouteGroupCoverage\022W\n\tcoverages\030\001 "
- + "\003(\0132D.google.cloud.dialogflow.cx.v3.Tran"
- + "sitionRouteGroupCoverage.Coverage\022\026\n\016cov"
- + "erage_score\030\002 \001(\002\032\273\002\n\010Coverage\022H\n\013route_"
- + "group\030\001 \001(\01323.google.cloud.dialogflow.cx"
- + ".v3.TransitionRouteGroup\022d\n\013transitions\030"
- + "\002 \003(\0132O.google.cloud.dialogflow.cx.v3.Tr"
- + "ansitionRouteGroupCoverage.Coverage.Tran"
- + "sition\022\026\n\016coverage_score\030\003 \001(\002\032g\n\nTransi"
- + "tion\022H\n\020transition_route\030\001 \001(\0132..google."
- + "cloud.dialogflow.cx.v3.TransitionRoute\022\017"
- + "\n\007covered\030\002 \001(\010\"\301\001\n\016IntentCoverage\022E\n\007in"
- + "tents\030\001 \003(\01324.google.cloud.dialogflow.cx"
- + ".v3.IntentCoverage.Intent\022\026\n\016coverage_sc"
- + "ore\030\002 \001(\002\032P\n\006Intent\0225\n\006intent\030\001 \001(\tB%\372A\""
- + "\n dialogflow.googleapis.com/Intent\022\017\n\007co"
- + "vered\030\002 \001(\010\"\227\002\n\030CalculateCoverageRequest"
- + "\0226\n\005agent\030\003 \001(\tB\'\340A\002\372A!\n\037dialogflow.goog"
- + "leapis.com/Agent\022W\n\004type\030\002 \001(\0162D.google."
- + "cloud.dialogflow.cx.v3.CalculateCoverage"
- + "Request.CoverageTypeB\003\340A\002\"j\n\014CoverageTyp"
- + "e\022\035\n\031COVERAGE_TYPE_UNSPECIFIED\020\000\022\n\n\006INTE"
- + "NT\020\001\022\023\n\017PAGE_TRANSITION\020\002\022\032\n\026TRANSITION_"
- + "ROUTE_GROUP\020\003\"\332\002\n\031CalculateCoverageRespo"
- + "nse\0223\n\005agent\030\005 \001(\tB$\372A!\n\037dialogflow.goog"
- + "leapis.com/Agent\022H\n\017intent_coverage\030\002 \001("
- + "\0132-.google.cloud.dialogflow.cx.v3.Intent"
- + "CoverageH\000\022P\n\023transition_coverage\030\004 \001(\0132"
- + "1.google.cloud.dialogflow.cx.v3.Transiti"
- + "onCoverageH\000\022[\n\024route_group_coverage\030\006 \001"
- + "(\0132;.google.cloud.dialogflow.cx.v3.Trans"
- + "itionRouteGroupCoverageH\000B\017\n\rcoverage_ty"
- + "pe\"\216\002\n\024ListTestCasesRequest\022:\n\006parent\030\001 "
- + "\001(\tB*\340A\002\372A$\022\"dialogflow.googleapis.com/T"
- + "estCase\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token"
- + "\030\003 \001(\t\022N\n\004view\030\004 \001(\0162@.google.cloud.dial"
- + "ogflow.cx.v3.ListTestCasesRequest.TestCa"
- + "seView\"C\n\014TestCaseView\022\036\n\032TEST_CASE_VIEW"
- + "_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002\"m\n\025L"
- + "istTestCasesResponse\022;\n\ntest_cases\030\001 \003(\013"
- + "2\'.google.cloud.dialogflow.cx.v3.TestCas"
- + "e\022\027\n\017next_page_token\030\002 \001(\t\"\224\001\n\033BatchDele"
- + "teTestCasesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372"
- + "A$\022\"dialogflow.googleapis.com/TestCase\0229"
- + "\n\005names\030\003 \003(\tB*\340A\002\372A$\n\"dialogflow.google"
- + "apis.com/TestCase\"\224\001\n\025CreateTestCaseRequ"
- + "est\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dialogflow."
- + "googleapis.com/TestCase\022?\n\ttest_case\030\002 \001"
- + "(\0132\'.google.cloud.dialogflow.cx.v3.TestC"
- + "aseB\003\340A\002\"\216\001\n\025UpdateTestCaseRequest\022?\n\tte"
- + "st_case\030\001 \001(\0132\'.google.cloud.dialogflow."
- + "cx.v3.TestCaseB\003\340A\002\0224\n\013update_mask\030\002 \001(\013"
- + "2\032.google.protobuf.FieldMaskB\003\340A\002\"N\n\022Get"
- + "TestCaseRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"d"
- + "ialogflow.googleapis.com/TestCase\"\222\001\n\022Ru"
- + "nTestCaseRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\""
- + "dialogflow.googleapis.com/TestCase\022B\n\013en"
- + "vironment\030\002 \001(\tB-\340A\001\372A\'\n%dialogflow.goog"
- + "leapis.com/Environment\"T\n\023RunTestCaseRes"
- + "ponse\022=\n\006result\030\002 \001(\0132-.google.cloud.dia"
- + "logflow.cx.v3.TestCaseResult\"\025\n\023RunTestC"
- + "aseMetadata\"\332\001\n\030BatchRunTestCasesRequest"
- + "\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dialogflow.goo"
- + "gleapis.com/TestCase\022B\n\013environment\030\002 \001("
- + "\tB-\340A\001\372A\'\n%dialogflow.googleapis.com/Env"
- + "ironment\022>\n\ntest_cases\030\003 \003(\tB*\340A\002\372A$\n\"di"
- + "alogflow.googleapis.com/TestCase\"[\n\031Batc"
- + "hRunTestCasesResponse\022>\n\007results\030\001 \003(\0132-"
- + ".google.cloud.dialogflow.cx.v3.TestCaseR"
- + "esult\"U\n\031BatchRunTestCasesMetadata\0228\n\006er"
- + "rors\030\001 \003(\0132(.google.cloud.dialogflow.cx."
- + "v3.TestError\"\232\001\n\tTestError\022:\n\ttest_case\030"
- + "\001 \001(\tB\'\372A$\n\"dialogflow.googleapis.com/Te"
- + "stCase\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Stat"
- + "us\022-\n\ttest_time\030\003 \001(\0132\032.google.protobuf."
- + "Timestamp\"\204\001\n\026ImportTestCasesRequest\022:\n\006"
- + "parent\030\001 \001(\tB*\340A\002\372A$\022\"dialogflow.googlea"
- + "pis.com/TestCase\022\021\n\007gcs_uri\030\002 \001(\tH\000\022\021\n\007c"
- + "ontent\030\003 \001(\014H\000B\010\n\006source\"Q\n\027ImportTestCa"
- + "sesResponse\0226\n\005names\030\001 \003(\tB\'\372A$\n\"dialogf"
- + "low.googleapis.com/TestCase\"W\n\027ImportTes"
- + "tCasesMetadata\022<\n\006errors\030\001 \003(\0132,.google."
- + "cloud.dialogflow.cx.v3.TestCaseError\"o\n\r"
- + "TestCaseError\022:\n\ttest_case\030\001 \001(\0132\'.googl"
- + "e.cloud.dialogflow.cx.v3.TestCase\022\"\n\006sta"
- + "tus\030\002 \001(\0132\022.google.rpc.Status\"\234\002\n\026Export"
- + "TestCasesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$"
- + "\022\"dialogflow.googleapis.com/TestCase\022\021\n\007"
- + "gcs_uri\030\002 \001(\tH\000\022U\n\013data_format\030\003 \001(\0162@.g"
- + "oogle.cloud.dialogflow.cx.v3.ExportTestC"
- + "asesRequest.DataFormat\022\016\n\006filter\030\004 \001(\t\"="
- + "\n\nDataFormat\022\033\n\027DATA_FORMAT_UNSPECIFIED\020"
- + "\000\022\010\n\004BLOB\020\001\022\010\n\004JSON\020\002B\r\n\013destination\"N\n\027"
- + "ExportTestCasesResponse\022\021\n\007gcs_uri\030\001 \001(\t"
- + "H\000\022\021\n\007content\030\002 \001(\014H\000B\r\n\013destination\"\031\n\027"
- + "ExportTestCasesMetadata\"\225\001\n\032ListTestCase"
- + "ResultsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022("
- + "dialogflow.googleapis.com/TestCaseResult"
- + "\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\"\200\001\n\033ListTestCaseResultsR"
- + "esponse\022H\n\021test_case_results\030\001 \003(\0132-.goo"
- + "gle.cloud.dialogflow.cx.v3.TestCaseResul"
- + "t\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\030GetTestCas"
- + "eResultRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(di"
- + "alogflow.googleapis.com/TestCaseResult*A"
- + "\n\nTestResult\022\033\n\027TEST_RESULT_UNSPECIFIED\020"
- + "\000\022\n\n\006PASSED\020\001\022\n\n\006FAILED\020\0022\231\025\n\tTestCases\022"
- + "\303\001\n\rListTestCases\0223.google.cloud.dialogf"
- + "low.cx.v3.ListTestCasesRequest\0324.google."
- + "cloud.dialogflow.cx.v3.ListTestCasesResp"
- + "onse\"G\202\323\344\223\0028\0226/v3/{parent=projects/*/loc"
- + "ations/*/agents/*}/testCases\332A\006parent\022\302\001"
- + "\n\024BatchDeleteTestCases\022:.google.cloud.di"
- + "alogflow.cx.v3.BatchDeleteTestCasesReque"
- + "st\032\026.google.protobuf.Empty\"V\202\323\344\223\002G\"B/v3/"
- + "{parent=projects/*/locations/*/agents/*}"
- + "/testCases:batchDelete:\001*\332A\006parent\022\260\001\n\013G"
- + "etTestCase\0221.google.cloud.dialogflow.cx."
- + "v3.GetTestCaseRequest\032\'.google.cloud.dia"
- + "logflow.cx.v3.TestCase\"E\202\323\344\223\0028\0226/v3/{nam"
- + "e=projects/*/locations/*/agents/*/testCa"
- + "ses/*}\332A\004name\022\315\001\n\016CreateTestCase\0224.googl"
- + "e.cloud.dialogflow.cx.v3.CreateTestCaseR"
- + "equest\032\'.google.cloud.dialogflow.cx.v3.T"
- + "estCase\"\\\202\323\344\223\002C\"6/v3/{parent=projects/*/"
- + "locations/*/agents/*}/testCases:\ttest_ca"
- + "se\332A\020parent,test_case\022\334\001\n\016UpdateTestCase"
- + "\0224.google.cloud.dialogflow.cx.v3.UpdateT"
- + "estCaseRequest\032\'.google.cloud.dialogflow"
- + ".cx.v3.TestCase\"k\202\323\344\223\002M2@/v3/{test_case."
- + "name=projects/*/locations/*/agents/*/tes"
- + "tCases/*}:\ttest_case\332A\025test_case,update_"
- + "mask\022\323\001\n\013RunTestCase\0221.google.cloud.dial"
- + "ogflow.cx.v3.RunTestCaseRequest\032\035.google"
- + ".longrunning.Operation\"r\202\323\344\223\002?\":/v3/{nam"
- + "e=projects/*/locations/*/agents/*/testCa"
- + "ses/*}:run:\001*\312A*\n\023RunTestCaseResponse\022\023R"
- + "unTestCaseMetadata\022\361\001\n\021BatchRunTestCases"
- + "\0227.google.cloud.dialogflow.cx.v3.BatchRu"
- + "nTestCasesRequest\032\035.google.longrunning.O"
- + "peration\"\203\001\202\323\344\223\002D\"?/v3/{parent=projects/"
- + "*/locations/*/agents/*}/testCases:batchR"
- + "un:\001*\312A6\n\031BatchRunTestCasesResponse\022\031Bat"
- + "chRunTestCasesMetadata\022\327\001\n\021CalculateCove"
- + "rage\0227.google.cloud.dialogflow.cx.v3.Cal"
- + "culateCoverageRequest\0328.google.cloud.dia"
- + "logflow.cx.v3.CalculateCoverageResponse\""
- + "O\202\323\344\223\002I\022G/v3/{agent=projects/*/locations"
- + "/*/agents/*}/testCases:calculateCoverage"
- + "\022\346\001\n\017ImportTestCases\0225.google.cloud.dial"
- + "ogflow.cx.v3.ImportTestCasesRequest\032\035.go"
- + "ogle.longrunning.Operation\"}\202\323\344\223\002B\"=/v3/"
- + "{parent=projects/*/locations/*/agents/*}"
- + "/testCases:import:\001*\312A2\n\027ImportTestCases"
- + "Response\022\027ImportTestCasesMetadata\022\346\001\n\017Ex"
- + "portTestCases\0225.google.cloud.dialogflow."
- + "cx.v3.ExportTestCasesRequest\032\035.google.lo"
- + "ngrunning.Operation\"}\202\323\344\223\002B\"=/v3/{parent"
- + "=projects/*/locations/*/agents/*}/testCa"
- + "ses:export:\001*\312A2\n\027ExportTestCasesRespons"
- + "e\022\027ExportTestCasesMetadata\022\337\001\n\023ListTestC"
- + "aseResults\0229.google.cloud.dialogflow.cx."
- + "v3.ListTestCaseResultsRequest\032:.google.c"
- + "loud.dialogflow.cx.v3.ListTestCaseResult"
- + "sResponse\"Q\202\323\344\223\002B\022@/v3/{parent=projects/"
- + "*/locations/*/agents/*/testCases/*}/resu"
- + "lts\332A\006parent\022\314\001\n\021GetTestCaseResult\0227.goo"
- + "gle.cloud.dialogflow.cx.v3.GetTestCaseRe"
- + "sultRequest\032-.google.cloud.dialogflow.cx"
- + ".v3.TestCaseResult\"O\202\323\344\223\002B\022@/v3/{name=pr"
- + "ojects/*/locations/*/agents/*/testCases/"
- + "*/results/*}\332A\004name\032x\312A\031dialogflow.googl"
- + "eapis.com\322AYhttps://www.googleapis.com/a"
- + "uth/cloud-platform,https://www.googleapi"
- + "s.com/auth/dialogflowB\235\001\n!com.google.clo"
- + "ud.dialogflow.cx.v3B\rTestCaseProtoP\001Z?go"
- + "ogle.golang.org/genproto/googleapis/clou"
- + "d/dialogflow/cx/v3;cx\370\001\001\242\002\002DF\252\002\035Google.C"
- + "loud.Dialogflow.Cx.V3b\006proto3"
+ + "\n\022is_webhook_enabled\030\003 \001(\010\022!\n\031enable_sen"
+ + "timent_analysis\030\007 \001(\010\032\274\003\n\022VirtualAgentOu"
+ + "tput\0223\n\022session_parameters\030\004 \001(\0132\027.googl"
+ + "e.protobuf.Struct\022J\n\013differences\030\005 \003(\01320"
+ + ".google.cloud.dialogflow.cx.v3.TestRunDi"
+ + "fferenceB\003\340A\003\0228\n\017diagnostic_info\030\006 \001(\0132\027"
+ + ".google.protobuf.StructB\006\340A\002\340A\004\022?\n\020trigg"
+ + "ered_intent\030\007 \001(\0132%.google.cloud.dialogf"
+ + "low.cx.v3.Intent\0229\n\014current_page\030\010 \001(\0132#"
+ + ".google.cloud.dialogflow.cx.v3.Page\022K\n\016t"
+ + "ext_responses\030\t \003(\01323.google.cloud.dialo"
+ + "gflow.cx.v3.ResponseMessage.Text\022\"\n\006stat"
+ + "us\030\n \001(\0132\022.google.rpc.Status\"\315\001\n\021TestRun"
+ + "Difference\022G\n\004type\030\001 \001(\01629.google.cloud."
+ + "dialogflow.cx.v3.TestRunDifference.DiffT"
+ + "ype\022\023\n\013description\030\002 \001(\t\"Z\n\010DiffType\022\031\n\025"
+ + "DIFF_TYPE_UNSPECIFIED\020\000\022\n\n\006INTENT\020\001\022\010\n\004P"
+ + "AGE\020\002\022\016\n\nPARAMETERS\020\003\022\r\n\tUTTERANCE\020\004\"\363\004\n"
+ + "\022TransitionCoverage\022Q\n\013transitions\030\001 \003(\013"
+ + "2<.google.cloud.dialogflow.cx.v3.Transit"
+ + "ionCoverage.Transition\022\026\n\016coverage_score"
+ + "\030\002 \001(\002\032\202\001\n\016TransitionNode\0223\n\004page\030\001 \001(\0132"
+ + "#.google.cloud.dialogflow.cx.v3.PageH\000\0223"
+ + "\n\004flow\030\002 \001(\0132#.google.cloud.dialogflow.c"
+ + "x.v3.FlowH\000B\006\n\004kind\032\354\002\n\nTransition\022P\n\006so"
+ + "urce\030\001 \001(\0132@.google.cloud.dialogflow.cx."
+ + "v3.TransitionCoverage.TransitionNode\022\r\n\005"
+ + "index\030\004 \001(\005\022P\n\006target\030\002 \001(\0132@.google.clo"
+ + "ud.dialogflow.cx.v3.TransitionCoverage.T"
+ + "ransitionNode\022\017\n\007covered\030\003 \001(\010\022J\n\020transi"
+ + "tion_route\030\005 \001(\0132..google.cloud.dialogfl"
+ + "ow.cx.v3.TransitionRouteH\000\022D\n\revent_hand"
+ + "ler\030\006 \001(\0132+.google.cloud.dialogflow.cx.v"
+ + "3.EventHandlerH\000B\010\n\006detail\"\315\003\n\034Transitio"
+ + "nRouteGroupCoverage\022W\n\tcoverages\030\001 \003(\0132D"
+ + ".google.cloud.dialogflow.cx.v3.Transitio"
+ + "nRouteGroupCoverage.Coverage\022\026\n\016coverage"
+ + "_score\030\002 \001(\002\032\273\002\n\010Coverage\022H\n\013route_group"
+ + "\030\001 \001(\01323.google.cloud.dialogflow.cx.v3.T"
+ + "ransitionRouteGroup\022d\n\013transitions\030\002 \003(\013"
+ + "2O.google.cloud.dialogflow.cx.v3.Transit"
+ + "ionRouteGroupCoverage.Coverage.Transitio"
+ + "n\022\026\n\016coverage_score\030\003 \001(\002\032g\n\nTransition\022"
+ + "H\n\020transition_route\030\001 \001(\0132..google.cloud"
+ + ".dialogflow.cx.v3.TransitionRoute\022\017\n\007cov"
+ + "ered\030\002 \001(\010\"\301\001\n\016IntentCoverage\022E\n\007intents"
+ + "\030\001 \003(\01324.google.cloud.dialogflow.cx.v3.I"
+ + "ntentCoverage.Intent\022\026\n\016coverage_score\030\002"
+ + " \001(\002\032P\n\006Intent\0225\n\006intent\030\001 \001(\tB%\372A\"\n dia"
+ + "logflow.googleapis.com/Intent\022\017\n\007covered"
+ + "\030\002 \001(\010\"\227\002\n\030CalculateCoverageRequest\0226\n\005a"
+ + "gent\030\003 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleapi"
+ + "s.com/Agent\022W\n\004type\030\002 \001(\0162D.google.cloud"
+ + ".dialogflow.cx.v3.CalculateCoverageReque"
+ + "st.CoverageTypeB\003\340A\002\"j\n\014CoverageType\022\035\n\031"
+ + "COVERAGE_TYPE_UNSPECIFIED\020\000\022\n\n\006INTENT\020\001\022"
+ + "\023\n\017PAGE_TRANSITION\020\002\022\032\n\026TRANSITION_ROUTE"
+ + "_GROUP\020\003\"\332\002\n\031CalculateCoverageResponse\0223"
+ + "\n\005agent\030\005 \001(\tB$\372A!\n\037dialogflow.googleapi"
+ + "s.com/Agent\022H\n\017intent_coverage\030\002 \001(\0132-.g"
+ + "oogle.cloud.dialogflow.cx.v3.IntentCover"
+ + "ageH\000\022P\n\023transition_coverage\030\004 \001(\01321.goo"
+ + "gle.cloud.dialogflow.cx.v3.TransitionCov"
+ + "erageH\000\022[\n\024route_group_coverage\030\006 \001(\0132;."
+ + "google.cloud.dialogflow.cx.v3.Transition"
+ + "RouteGroupCoverageH\000B\017\n\rcoverage_type\"\216\002"
+ + "\n\024ListTestCasesRequest\022:\n\006parent\030\001 \001(\tB*"
+ + "\340A\002\372A$\022\"dialogflow.googleapis.com/TestCa"
+ + "se\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001("
+ + "\t\022N\n\004view\030\004 \001(\0162@.google.cloud.dialogflo"
+ + "w.cx.v3.ListTestCasesRequest.TestCaseVie"
+ + "w\"C\n\014TestCaseView\022\036\n\032TEST_CASE_VIEW_UNSP"
+ + "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002\"m\n\025ListTe"
+ + "stCasesResponse\022;\n\ntest_cases\030\001 \003(\0132\'.go"
+ + "ogle.cloud.dialogflow.cx.v3.TestCase\022\027\n\017"
+ + "next_page_token\030\002 \001(\t\"\224\001\n\033BatchDeleteTes"
+ + "tCasesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"d"
+ + "ialogflow.googleapis.com/TestCase\0229\n\005nam"
+ + "es\030\003 \003(\tB*\340A\002\372A$\n\"dialogflow.googleapis."
+ + "com/TestCase\"\224\001\n\025CreateTestCaseRequest\022:"
+ + "\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dialogflow.googl"
+ + "eapis.com/TestCase\022?\n\ttest_case\030\002 \001(\0132\'."
+ + "google.cloud.dialogflow.cx.v3.TestCaseB\003"
+ + "\340A\002\"\216\001\n\025UpdateTestCaseRequest\022?\n\ttest_ca"
+ + "se\030\001 \001(\0132\'.google.cloud.dialogflow.cx.v3"
+ + ".TestCaseB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.go"
+ + "ogle.protobuf.FieldMaskB\003\340A\002\"N\n\022GetTestC"
+ + "aseRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dialog"
+ + "flow.googleapis.com/TestCase\"\222\001\n\022RunTest"
+ + "CaseRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dialo"
+ + "gflow.googleapis.com/TestCase\022B\n\013environ"
+ + "ment\030\002 \001(\tB-\340A\001\372A\'\n%dialogflow.googleapi"
+ + "s.com/Environment\"T\n\023RunTestCaseResponse"
+ + "\022=\n\006result\030\002 \001(\0132-.google.cloud.dialogfl"
+ + "ow.cx.v3.TestCaseResult\"\025\n\023RunTestCaseMe"
+ + "tadata\"\332\001\n\030BatchRunTestCasesRequest\022:\n\006p"
+ + "arent\030\001 \001(\tB*\340A\002\372A$\022\"dialogflow.googleap"
+ + "is.com/TestCase\022B\n\013environment\030\002 \001(\tB-\340A"
+ + "\001\372A\'\n%dialogflow.googleapis.com/Environm"
+ + "ent\022>\n\ntest_cases\030\003 \003(\tB*\340A\002\372A$\n\"dialogf"
+ + "low.googleapis.com/TestCase\"[\n\031BatchRunT"
+ + "estCasesResponse\022>\n\007results\030\001 \003(\0132-.goog"
+ + "le.cloud.dialogflow.cx.v3.TestCaseResult"
+ + "\"U\n\031BatchRunTestCasesMetadata\0228\n\006errors\030"
+ + "\001 \003(\0132(.google.cloud.dialogflow.cx.v3.Te"
+ + "stError\"\232\001\n\tTestError\022:\n\ttest_case\030\001 \001(\t"
+ + "B\'\372A$\n\"dialogflow.googleapis.com/TestCas"
+ + "e\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Status\022-\n"
+ + "\ttest_time\030\003 \001(\0132\032.google.protobuf.Times"
+ + "tamp\"\204\001\n\026ImportTestCasesRequest\022:\n\006paren"
+ + "t\030\001 \001(\tB*\340A\002\372A$\022\"dialogflow.googleapis.c"
+ + "om/TestCase\022\021\n\007gcs_uri\030\002 \001(\tH\000\022\021\n\007conten"
+ + "t\030\003 \001(\014H\000B\010\n\006source\"Q\n\027ImportTestCasesRe"
+ + "sponse\0226\n\005names\030\001 \003(\tB\'\372A$\n\"dialogflow.g"
+ + "oogleapis.com/TestCase\"W\n\027ImportTestCase"
+ + "sMetadata\022<\n\006errors\030\001 \003(\0132,.google.cloud"
+ + ".dialogflow.cx.v3.TestCaseError\"o\n\rTestC"
+ + "aseError\022:\n\ttest_case\030\001 \001(\0132\'.google.clo"
+ + "ud.dialogflow.cx.v3.TestCase\022\"\n\006status\030\002"
+ + " \001(\0132\022.google.rpc.Status\"\234\002\n\026ExportTestC"
+ + "asesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dia"
+ + "logflow.googleapis.com/TestCase\022\021\n\007gcs_u"
+ + "ri\030\002 \001(\tH\000\022U\n\013data_format\030\003 \001(\0162@.google"
+ + ".cloud.dialogflow.cx.v3.ExportTestCasesR"
+ + "equest.DataFormat\022\016\n\006filter\030\004 \001(\t\"=\n\nDat"
+ + "aFormat\022\033\n\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n\004"
+ + "BLOB\020\001\022\010\n\004JSON\020\002B\r\n\013destination\"N\n\027Expor"
+ + "tTestCasesResponse\022\021\n\007gcs_uri\030\001 \001(\tH\000\022\021\n"
+ + "\007content\030\002 \001(\014H\000B\r\n\013destination\"\031\n\027Expor"
+ + "tTestCasesMetadata\"\225\001\n\032ListTestCaseResul"
+ + "tsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(dialo"
+ + "gflow.googleapis.com/TestCaseResult\022\021\n\tp"
+ + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006fi"
+ + "lter\030\004 \001(\t\"\200\001\n\033ListTestCaseResultsRespon"
+ + "se\022H\n\021test_case_results\030\001 \003(\0132-.google.c"
+ + "loud.dialogflow.cx.v3.TestCaseResult\022\027\n\017"
+ + "next_page_token\030\002 \001(\t\"Z\n\030GetTestCaseResu"
+ + "ltRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(dialogf"
+ + "low.googleapis.com/TestCaseResult*A\n\nTes"
+ + "tResult\022\033\n\027TEST_RESULT_UNSPECIFIED\020\000\022\n\n\006"
+ + "PASSED\020\001\022\n\n\006FAILED\020\0022\231\025\n\tTestCases\022\303\001\n\rL"
+ + "istTestCases\0223.google.cloud.dialogflow.c"
+ + "x.v3.ListTestCasesRequest\0324.google.cloud"
+ + ".dialogflow.cx.v3.ListTestCasesResponse\""
+ + "G\202\323\344\223\0028\0226/v3/{parent=projects/*/location"
+ + "s/*/agents/*}/testCases\332A\006parent\022\302\001\n\024Bat"
+ + "chDeleteTestCases\022:.google.cloud.dialogf"
+ + "low.cx.v3.BatchDeleteTestCasesRequest\032\026."
+ + "google.protobuf.Empty\"V\202\323\344\223\002G\"B/v3/{pare"
+ + "nt=projects/*/locations/*/agents/*}/test"
+ + "Cases:batchDelete:\001*\332A\006parent\022\260\001\n\013GetTes"
+ + "tCase\0221.google.cloud.dialogflow.cx.v3.Ge"
+ + "tTestCaseRequest\032\'.google.cloud.dialogfl"
+ + "ow.cx.v3.TestCase\"E\202\323\344\223\0028\0226/v3/{name=pro"
+ + "jects/*/locations/*/agents/*/testCases/*"
+ + "}\332A\004name\022\315\001\n\016CreateTestCase\0224.google.clo"
+ + "ud.dialogflow.cx.v3.CreateTestCaseReques"
+ + "t\032\'.google.cloud.dialogflow.cx.v3.TestCa"
+ + "se\"\\\202\323\344\223\002C\"6/v3/{parent=projects/*/locat"
+ + "ions/*/agents/*}/testCases:\ttest_case\332A\020"
+ + "parent,test_case\022\334\001\n\016UpdateTestCase\0224.go"
+ + "ogle.cloud.dialogflow.cx.v3.UpdateTestCa"
+ + "seRequest\032\'.google.cloud.dialogflow.cx.v"
+ + "3.TestCase\"k\202\323\344\223\002M2@/v3/{test_case.name="
+ + "projects/*/locations/*/agents/*/testCase"
+ + "s/*}:\ttest_case\332A\025test_case,update_mask\022"
+ + "\323\001\n\013RunTestCase\0221.google.cloud.dialogflo"
+ + "w.cx.v3.RunTestCaseRequest\032\035.google.long"
+ + "running.Operation\"r\202\323\344\223\002?\":/v3/{name=pro"
+ + "jects/*/locations/*/agents/*/testCases/*"
+ + "}:run:\001*\312A*\n\023RunTestCaseResponse\022\023RunTes"
+ + "tCaseMetadata\022\361\001\n\021BatchRunTestCases\0227.go"
+ + "ogle.cloud.dialogflow.cx.v3.BatchRunTest"
+ + "CasesRequest\032\035.google.longrunning.Operat"
+ + "ion\"\203\001\202\323\344\223\002D\"?/v3/{parent=projects/*/loc"
+ + "ations/*/agents/*}/testCases:batchRun:\001*"
+ + "\312A6\n\031BatchRunTestCasesResponse\022\031BatchRun"
+ + "TestCasesMetadata\022\327\001\n\021CalculateCoverage\022"
+ + "7.google.cloud.dialogflow.cx.v3.Calculat"
+ + "eCoverageRequest\0328.google.cloud.dialogfl"
+ + "ow.cx.v3.CalculateCoverageResponse\"O\202\323\344\223"
+ + "\002I\022G/v3/{agent=projects/*/locations/*/ag"
+ + "ents/*}/testCases:calculateCoverage\022\346\001\n\017"
+ + "ImportTestCases\0225.google.cloud.dialogflo"
+ + "w.cx.v3.ImportTestCasesRequest\032\035.google."
+ + "longrunning.Operation\"}\202\323\344\223\002B\"=/v3/{pare"
+ + "nt=projects/*/locations/*/agents/*}/test"
+ + "Cases:import:\001*\312A2\n\027ImportTestCasesRespo"
+ + "nse\022\027ImportTestCasesMetadata\022\346\001\n\017ExportT"
+ + "estCases\0225.google.cloud.dialogflow.cx.v3"
+ + ".ExportTestCasesRequest\032\035.google.longrun"
+ + "ning.Operation\"}\202\323\344\223\002B\"=/v3/{parent=proj"
+ + "ects/*/locations/*/agents/*}/testCases:e"
+ + "xport:\001*\312A2\n\027ExportTestCasesResponse\022\027Ex"
+ + "portTestCasesMetadata\022\337\001\n\023ListTestCaseRe"
+ + "sults\0229.google.cloud.dialogflow.cx.v3.Li"
+ + "stTestCaseResultsRequest\032:.google.cloud."
+ + "dialogflow.cx.v3.ListTestCaseResultsResp"
+ + "onse\"Q\202\323\344\223\002B\022@/v3/{parent=projects/*/loc"
+ + "ations/*/agents/*/testCases/*}/results\332A"
+ + "\006parent\022\314\001\n\021GetTestCaseResult\0227.google.c"
+ + "loud.dialogflow.cx.v3.GetTestCaseResultR"
+ + "equest\032-.google.cloud.dialogflow.cx.v3.T"
+ + "estCaseResult\"O\202\323\344\223\002B\022@/v3/{name=project"
+ + "s/*/locations/*/agents/*/testCases/*/res"
+ + "ults/*}\332A\004name\032x\312A\031dialogflow.googleapis"
+ + ".com\322AYhttps://www.googleapis.com/auth/c"
+ + "loud-platform,https://www.googleapis.com"
+ + "/auth/dialogflowB\235\001\n!com.google.cloud.di"
+ + "alogflow.cx.v3B\rTestCaseProtoP\001Z?google."
+ + "golang.org/genproto/googleapis/cloud/dia"
+ + "logflow/cx/v3;cx\370\001\001\242\002\002DF\252\002\035Google.Cloud."
+ + "Dialogflow.Cx.V3b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -527,7 +528,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3_ConversationTurn_UserInput_descriptor,
new java.lang.String[] {
- "Input", "InjectedParameters", "IsWebhookEnabled",
+ "Input", "InjectedParameters", "IsWebhookEnabled", "EnableSentimentAnalysis",
});
internal_static_google_cloud_dialogflow_cx_v3_ConversationTurn_VirtualAgentOutput_descriptor =
internal_static_google_cloud_dialogflow_cx_v3_ConversationTurn_descriptor
diff --git a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/test_case.proto b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/test_case.proto
index f7b942221..94e69aaed 100644
--- a/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/test_case.proto
+++ b/proto-google-cloud-dialogflow-cx-v3/src/main/proto/google/cloud/dialogflow/cx/v3/test_case.proto
@@ -266,6 +266,9 @@ message ConversationTurn {
// utterance. Often if parameters are injected, webhooks should not be
// enabled.
bool is_webhook_enabled = 3;
+
+ // Whether sentiment analysis is enabled.
+ bool enable_sentiment_analysis = 7;
}
// The output from the virtual agent.
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationTurn.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationTurn.java
index 72bee9ddd..f01f442d1 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationTurn.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ConversationTurn.java
@@ -235,6 +235,19 @@ public interface UserInputOrBuilder
* @return The isWebhookEnabled.
*/
boolean getIsWebhookEnabled();
+
+ /**
+ *
+ *
+ * + * Whether sentiment analysis is enabled. + *+ * + *
bool enable_sentiment_analysis = 7;
+ *
+ * @return The enableSentimentAnalysis.
+ */
+ boolean getEnableSentimentAnalysis();
}
/**
*
@@ -321,6 +334,11 @@ private UserInput(
input_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 56:
+ {
+ enableSentimentAnalysis_ = input.readBool();
break;
}
default:
@@ -479,6 +497,24 @@ public boolean getIsWebhookEnabled() {
return isWebhookEnabled_;
}
+ public static final int ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER = 7;
+ private boolean enableSentimentAnalysis_;
+ /**
+ *
+ *
+ * + * Whether sentiment analysis is enabled. + *+ * + *
bool enable_sentiment_analysis = 7;
+ *
+ * @return The enableSentimentAnalysis.
+ */
+ @java.lang.Override
+ public boolean getEnableSentimentAnalysis() {
+ return enableSentimentAnalysis_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -502,6 +538,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (input_ != null) {
output.writeMessage(5, getInput());
}
+ if (enableSentimentAnalysis_ != false) {
+ output.writeBool(7, enableSentimentAnalysis_);
+ }
unknownFields.writeTo(output);
}
@@ -521,6 +560,9 @@ public int getSerializedSize() {
if (input_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInput());
}
+ if (enableSentimentAnalysis_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, enableSentimentAnalysis_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -546,6 +588,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getInjectedParameters().equals(other.getInjectedParameters())) return false;
}
if (getIsWebhookEnabled() != other.getIsWebhookEnabled()) return false;
+ if (getEnableSentimentAnalysis() != other.getEnableSentimentAnalysis()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -567,6 +610,8 @@ public int hashCode() {
}
hash = (37 * hash) + IS_WEBHOOK_ENABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsWebhookEnabled());
+ hash = (37 * hash) + ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableSentimentAnalysis());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -731,6 +776,8 @@ public Builder clear() {
}
isWebhookEnabled_ = false;
+ enableSentimentAnalysis_ = false;
+
return this;
}
@@ -771,6 +818,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.ConversationTurn.UserInput buildPa
result.injectedParameters_ = injectedParametersBuilder_.build();
}
result.isWebhookEnabled_ = isWebhookEnabled_;
+ result.enableSentimentAnalysis_ = enableSentimentAnalysis_;
onBuilt();
return result;
}
@@ -835,6 +883,9 @@ public Builder mergeFrom(
if (other.getIsWebhookEnabled() != false) {
setIsWebhookEnabled(other.getIsWebhookEnabled());
}
+ if (other.getEnableSentimentAnalysis() != false) {
+ setEnableSentimentAnalysis(other.getEnableSentimentAnalysis());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1313,6 +1364,58 @@ public Builder clearIsWebhookEnabled() {
return this;
}
+ private boolean enableSentimentAnalysis_;
+ /**
+ *
+ *
+ * + * Whether sentiment analysis is enabled. + *+ * + *
bool enable_sentiment_analysis = 7;
+ *
+ * @return The enableSentimentAnalysis.
+ */
+ @java.lang.Override
+ public boolean getEnableSentimentAnalysis() {
+ return enableSentimentAnalysis_;
+ }
+ /**
+ *
+ *
+ * + * Whether sentiment analysis is enabled. + *+ * + *
bool enable_sentiment_analysis = 7;
+ *
+ * @param value The enableSentimentAnalysis to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEnableSentimentAnalysis(boolean value) {
+
+ enableSentimentAnalysis_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Whether sentiment analysis is enabled. + *+ * + *
bool enable_sentiment_analysis = 7;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEnableSentimentAnalysis() {
+
+ enableSentimentAnalysis_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TestCaseProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TestCaseProto.java
index 1d7e4fe13..b703c875f 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TestCaseProto.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/TestCaseProto.java
@@ -239,236 +239,236 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "agent}/testCases/{test_case}/results/{re"
+ "sult}\"\\\n\nTestConfig\022\033\n\023tracking_paramete"
+ "rs\030\001 \003(\t\0221\n\004flow\030\002 \001(\tB#\372A \n\036dialogflow."
- + "googleapis.com/Flow\"\277\006\n\020ConversationTurn"
+ + "googleapis.com/Flow\"\342\006\n\020ConversationTurn"
+ "\022R\n\nuser_input\030\001 \001(\0132>.google.cloud.dial"
+ "ogflow.cx.v3beta1.ConversationTurn.UserI"
+ "nput\022e\n\024virtual_agent_output\030\002 \001(\0132G.goo"
+ "gle.cloud.dialogflow.cx.v3beta1.Conversa"
- + "tionTurn.VirtualAgentOutput\032\234\001\n\tUserInpu"
+ + "tionTurn.VirtualAgentOutput\032\277\001\n\tUserInpu"
+ "t\022=\n\005input\030\005 \001(\0132..google.cloud.dialogfl"
+ "ow.cx.v3beta1.QueryInput\0224\n\023injected_par"
+ "ameters\030\002 \001(\0132\027.google.protobuf.Struct\022\032"
- + "\n\022is_webhook_enabled\030\003 \001(\010\032\320\003\n\022VirtualAg"
- + "entOutput\0223\n\022session_parameters\030\004 \001(\0132\027."
- + "google.protobuf.Struct\022O\n\013differences\030\005 "
- + "\003(\01325.google.cloud.dialogflow.cx.v3beta1"
- + ".TestRunDifferenceB\003\340A\003\0228\n\017diagnostic_in"
- + "fo\030\006 \001(\0132\027.google.protobuf.StructB\006\340A\002\340A"
- + "\004\022D\n\020triggered_intent\030\007 \001(\0132*.google.clo"
- + "ud.dialogflow.cx.v3beta1.Intent\022>\n\014curre"
- + "nt_page\030\010 \001(\0132(.google.cloud.dialogflow."
- + "cx.v3beta1.Page\022P\n\016text_responses\030\t \003(\0132"
- + "8.google.cloud.dialogflow.cx.v3beta1.Res"
- + "ponseMessage.Text\022\"\n\006status\030\n \001(\0132\022.goog"
- + "le.rpc.Status\"\322\001\n\021TestRunDifference\022L\n\004t"
- + "ype\030\001 \001(\0162>.google.cloud.dialogflow.cx.v"
- + "3beta1.TestRunDifference.DiffType\022\023\n\013des"
- + "cription\030\002 \001(\t\"Z\n\010DiffType\022\031\n\025DIFF_TYPE_"
- + "UNSPECIFIED\020\000\022\n\n\006INTENT\020\001\022\010\n\004PAGE\020\002\022\016\n\nP"
- + "ARAMETERS\020\003\022\r\n\tUTTERANCE\020\004\"\226\005\n\022Transitio"
- + "nCoverage\022V\n\013transitions\030\001 \003(\0132A.google."
- + "cloud.dialogflow.cx.v3beta1.TransitionCo"
- + "verage.Transition\022\026\n\016coverage_score\030\002 \001("
- + "\002\032\214\001\n\016TransitionNode\0228\n\004page\030\001 \001(\0132(.goo"
- + "gle.cloud.dialogflow.cx.v3beta1.PageH\000\0228"
- + "\n\004flow\030\002 \001(\0132(.google.cloud.dialogflow.c"
- + "x.v3beta1.FlowH\000B\006\n\004kind\032\200\003\n\nTransition\022"
- + "U\n\006source\030\001 \001(\0132E.google.cloud.dialogflo"
- + "w.cx.v3beta1.TransitionCoverage.Transiti"
- + "onNode\022\r\n\005index\030\004 \001(\005\022U\n\006target\030\002 \001(\0132E."
- + "google.cloud.dialogflow.cx.v3beta1.Trans"
- + "itionCoverage.TransitionNode\022\017\n\007covered\030"
- + "\003 \001(\010\022O\n\020transition_route\030\005 \001(\01323.google"
- + ".cloud.dialogflow.cx.v3beta1.TransitionR"
- + "outeH\000\022I\n\revent_handler\030\006 \001(\01320.google.c"
- + "loud.dialogflow.cx.v3beta1.EventHandlerH"
- + "\000B\010\n\006detail\"\341\003\n\034TransitionRouteGroupCove"
- + "rage\022\\\n\tcoverages\030\001 \003(\0132I.google.cloud.d"
- + "ialogflow.cx.v3beta1.TransitionRouteGrou"
- + "pCoverage.Coverage\022\026\n\016coverage_score\030\002 \001"
- + "(\002\032\312\002\n\010Coverage\022M\n\013route_group\030\001 \001(\01328.g"
- + "oogle.cloud.dialogflow.cx.v3beta1.Transi"
- + "tionRouteGroup\022i\n\013transitions\030\002 \003(\0132T.go"
- + "ogle.cloud.dialogflow.cx.v3beta1.Transit"
- + "ionRouteGroupCoverage.Coverage.Transitio"
- + "n\022\026\n\016coverage_score\030\003 \001(\002\032l\n\nTransition\022"
- + "M\n\020transition_route\030\001 \001(\01323.google.cloud"
- + ".dialogflow.cx.v3beta1.TransitionRoute\022\017"
- + "\n\007covered\030\002 \001(\010\"\306\001\n\016IntentCoverage\022J\n\007in"
- + "tents\030\001 \003(\01329.google.cloud.dialogflow.cx"
- + ".v3beta1.IntentCoverage.Intent\022\026\n\016covera"
- + "ge_score\030\002 \001(\002\032P\n\006Intent\0225\n\006intent\030\001 \001(\t"
- + "B%\372A\"\n dialogflow.googleapis.com/Intent\022"
- + "\017\n\007covered\030\002 \001(\010\"\234\002\n\030CalculateCoverageRe"
- + "quest\0226\n\005agent\030\003 \001(\tB\'\340A\002\372A!\n\037dialogflow"
- + ".googleapis.com/Agent\022\\\n\004type\030\002 \001(\0162I.go"
- + "ogle.cloud.dialogflow.cx.v3beta1.Calcula"
- + "teCoverageRequest.CoverageTypeB\003\340A\002\"j\n\014C"
- + "overageType\022\035\n\031COVERAGE_TYPE_UNSPECIFIED"
- + "\020\000\022\n\n\006INTENT\020\001\022\023\n\017PAGE_TRANSITION\020\002\022\032\n\026T"
- + "RANSITION_ROUTE_GROUP\020\003\"\351\002\n\031CalculateCov"
- + "erageResponse\0223\n\005agent\030\005 \001(\tB$\372A!\n\037dialo"
- + "gflow.googleapis.com/Agent\022M\n\017intent_cov"
- + "erage\030\002 \001(\01322.google.cloud.dialogflow.cx"
- + ".v3beta1.IntentCoverageH\000\022U\n\023transition_"
- + "coverage\030\004 \001(\01326.google.cloud.dialogflow"
- + ".cx.v3beta1.TransitionCoverageH\000\022`\n\024rout"
- + "e_group_coverage\030\006 \001(\0132@.google.cloud.di"
- + "alogflow.cx.v3beta1.TransitionRouteGroup"
- + "CoverageH\000B\017\n\rcoverage_type\"\223\002\n\024ListTest"
- + "CasesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"di"
- + "alogflow.googleapis.com/TestCase\022\021\n\tpage"
- + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022S\n\004view\030"
- + "\004 \001(\0162E.google.cloud.dialogflow.cx.v3bet"
- + "a1.ListTestCasesRequest.TestCaseView\"C\n\014"
- + "TestCaseView\022\036\n\032TEST_CASE_VIEW_UNSPECIFI"
- + "ED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002\"r\n\025ListTestCas"
- + "esResponse\022@\n\ntest_cases\030\001 \003(\0132,.google."
- + "cloud.dialogflow.cx.v3beta1.TestCase\022\027\n\017"
- + "next_page_token\030\002 \001(\t\"\224\001\n\033BatchDeleteTes"
- + "tCasesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"d"
- + "ialogflow.googleapis.com/TestCase\0229\n\005nam"
- + "es\030\003 \003(\tB*\340A\002\372A$\n\"dialogflow.googleapis."
- + "com/TestCase\"\231\001\n\025CreateTestCaseRequest\022:"
- + "\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dialogflow.googl"
- + "eapis.com/TestCase\022D\n\ttest_case\030\002 \001(\0132,."
- + "google.cloud.dialogflow.cx.v3beta1.TestC"
- + "aseB\003\340A\002\"\223\001\n\025UpdateTestCaseRequest\022D\n\tte"
- + "st_case\030\001 \001(\0132,.google.cloud.dialogflow."
- + "cx.v3beta1.TestCaseB\003\340A\002\0224\n\013update_mask\030"
- + "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"N"
- + "\n\022GetTestCaseRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372"
- + "A$\n\"dialogflow.googleapis.com/TestCase\"\222"
- + "\001\n\022RunTestCaseRequest\0228\n\004name\030\001 \001(\tB*\340A\002"
- + "\372A$\n\"dialogflow.googleapis.com/TestCase\022"
- + "B\n\013environment\030\002 \001(\tB-\340A\001\372A\'\n%dialogflow"
- + ".googleapis.com/Environment\"Y\n\023RunTestCa"
- + "seResponse\022B\n\006result\030\002 \001(\01322.google.clou"
- + "d.dialogflow.cx.v3beta1.TestCaseResult\"\025"
- + "\n\023RunTestCaseMetadata\"\332\001\n\030BatchRunTestCa"
- + "sesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dial"
- + "ogflow.googleapis.com/TestCase\022B\n\013enviro"
- + "nment\030\002 \001(\tB-\340A\001\372A\'\n%dialogflow.googleap"
- + "is.com/Environment\022>\n\ntest_cases\030\003 \003(\tB*"
- + "\340A\002\372A$\n\"dialogflow.googleapis.com/TestCa"
- + "se\"`\n\031BatchRunTestCasesResponse\022C\n\007resul"
- + "ts\030\001 \003(\01322.google.cloud.dialogflow.cx.v3"
- + "beta1.TestCaseResult\"Z\n\031BatchRunTestCase"
- + "sMetadata\022=\n\006errors\030\001 \003(\0132-.google.cloud"
- + ".dialogflow.cx.v3beta1.TestError\"\232\001\n\tTes"
- + "tError\022:\n\ttest_case\030\001 \001(\tB\'\372A$\n\"dialogfl"
- + "ow.googleapis.com/TestCase\022\"\n\006status\030\002 \001"
- + "(\0132\022.google.rpc.Status\022-\n\ttest_time\030\003 \001("
- + "\0132\032.google.protobuf.Timestamp\"\204\001\n\026Import"
- + "TestCasesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$"
- + "\022\"dialogflow.googleapis.com/TestCase\022\021\n\007"
- + "gcs_uri\030\002 \001(\tH\000\022\021\n\007content\030\003 \001(\014H\000B\010\n\006so"
- + "urce\"Q\n\027ImportTestCasesResponse\0226\n\005names"
- + "\030\001 \003(\tB\'\372A$\n\"dialogflow.googleapis.com/T"
- + "estCase\"\\\n\027ImportTestCasesMetadata\022A\n\006er"
- + "rors\030\001 \003(\01321.google.cloud.dialogflow.cx."
- + "v3beta1.TestCaseError\"t\n\rTestCaseError\022?"
- + "\n\ttest_case\030\001 \001(\0132,.google.cloud.dialogf"
- + "low.cx.v3beta1.TestCase\022\"\n\006status\030\002 \001(\0132"
- + "\022.google.rpc.Status\"\241\002\n\026ExportTestCasesR"
- + "equest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dialogfl"
- + "ow.googleapis.com/TestCase\022\021\n\007gcs_uri\030\002 "
- + "\001(\tH\000\022Z\n\013data_format\030\003 \001(\0162E.google.clou"
- + "d.dialogflow.cx.v3beta1.ExportTestCasesR"
- + "equest.DataFormat\022\016\n\006filter\030\004 \001(\t\"=\n\nDat"
- + "aFormat\022\033\n\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n\004"
- + "BLOB\020\001\022\010\n\004JSON\020\002B\r\n\013destination\"N\n\027Expor"
- + "tTestCasesResponse\022\021\n\007gcs_uri\030\001 \001(\tH\000\022\021\n"
- + "\007content\030\002 \001(\014H\000B\r\n\013destination\"\031\n\027Expor"
- + "tTestCasesMetadata\"\225\001\n\032ListTestCaseResul"
- + "tsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(dialo"
- + "gflow.googleapis.com/TestCaseResult\022\021\n\tp"
- + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006fi"
- + "lter\030\004 \001(\t\"\205\001\n\033ListTestCaseResultsRespon"
- + "se\022M\n\021test_case_results\030\001 \003(\01322.google.c"
- + "loud.dialogflow.cx.v3beta1.TestCaseResul"
- + "t\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\030GetTestCas"
- + "eResultRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(di"
- + "alogflow.googleapis.com/TestCaseResult*A"
- + "\n\nTestResult\022\033\n\027TEST_RESULT_UNSPECIFIED\020"
- + "\000\022\n\n\006PASSED\020\001\022\n\n\006FAILED\020\0022\266\026\n\tTestCases\022"
- + "\322\001\n\rListTestCases\0228.google.cloud.dialogf"
- + "low.cx.v3beta1.ListTestCasesRequest\0329.go"
- + "ogle.cloud.dialogflow.cx.v3beta1.ListTes"
- + "tCasesResponse\"L\202\323\344\223\002=\022;/v3beta1/{parent"
- + "=projects/*/locations/*/agents/*}/testCa"
- + "ses\332A\006parent\022\314\001\n\024BatchDeleteTestCases\022?."
- + "google.cloud.dialogflow.cx.v3beta1.Batch"
- + "DeleteTestCasesRequest\032\026.google.protobuf"
- + ".Empty\"[\202\323\344\223\002L\"G/v3beta1/{parent=project"
- + "s/*/locations/*/agents/*}/testCases:batc"
- + "hDelete:\001*\332A\006parent\022\277\001\n\013GetTestCase\0226.go"
- + "ogle.cloud.dialogflow.cx.v3beta1.GetTest"
- + "CaseRequest\032,.google.cloud.dialogflow.cx"
- + ".v3beta1.TestCase\"J\202\323\344\223\002=\022;/v3beta1/{nam"
- + "e=projects/*/locations/*/agents/*/testCa"
- + "ses/*}\332A\004name\022\334\001\n\016CreateTestCase\0229.googl"
- + "e.cloud.dialogflow.cx.v3beta1.CreateTest"
- + "CaseRequest\032,.google.cloud.dialogflow.cx"
- + ".v3beta1.TestCase\"a\202\323\344\223\002H\";/v3beta1/{par"
- + "ent=projects/*/locations/*/agents/*}/tes"
- + "tCases:\ttest_case\332A\020parent,test_case\022\353\001\n"
- + "\016UpdateTestCase\0229.google.cloud.dialogflo"
- + "w.cx.v3beta1.UpdateTestCaseRequest\032,.goo"
- + "gle.cloud.dialogflow.cx.v3beta1.TestCase"
- + "\"p\202\323\344\223\002R2E/v3beta1/{test_case.name=proje"
- + "cts/*/locations/*/agents/*/testCases/*}:"
- + "\ttest_case\332A\025test_case,update_mask\022\335\001\n\013R"
- + "unTestCase\0226.google.cloud.dialogflow.cx."
- + "v3beta1.RunTestCaseRequest\032\035.google.long"
- + "running.Operation\"w\202\323\344\223\002D\"?/v3beta1/{nam"
- + "e=projects/*/locations/*/agents/*/testCa"
- + "ses/*}:run:\001*\312A*\n\023RunTestCaseResponse\022\023R"
- + "unTestCaseMetadata\022\373\001\n\021BatchRunTestCases"
- + "\022<.google.cloud.dialogflow.cx.v3beta1.Ba"
- + "tchRunTestCasesRequest\032\035.google.longrunn"
- + "ing.Operation\"\210\001\202\323\344\223\002I\"D/v3beta1/{parent"
- + "=projects/*/locations/*/agents/*}/testCa"
- + "ses:batchRun:\001*\312A6\n\031BatchRunTestCasesRes"
- + "ponse\022\031BatchRunTestCasesMetadata\022\346\001\n\021Cal"
- + "culateCoverage\022<.google.cloud.dialogflow"
- + ".cx.v3beta1.CalculateCoverageRequest\032=.g"
- + "oogle.cloud.dialogflow.cx.v3beta1.Calcul"
- + "ateCoverageResponse\"T\202\323\344\223\002N\022L/v3beta1/{a"
- + "gent=projects/*/locations/*/agents/*}/te"
- + "stCases:calculateCoverage\022\361\001\n\017ImportTest"
- + "Cases\022:.google.cloud.dialogflow.cx.v3bet"
- + "a1.ImportTestCasesRequest\032\035.google.longr"
- + "unning.Operation\"\202\001\202\323\344\223\002G\"B/v3beta1/{par"
- + "ent=projects/*/locations/*/agents/*}/tes"
- + "tCases:import:\001*\312A2\n\027ImportTestCasesResp"
- + "onse\022\027ImportTestCasesMetadata\022\361\001\n\017Export"
- + "TestCases\022:.google.cloud.dialogflow.cx.v"
- + "3beta1.ExportTestCasesRequest\032\035.google.l"
- + "ongrunning.Operation\"\202\001\202\323\344\223\002G\"B/v3beta1/"
- + "{parent=projects/*/locations/*/agents/*}"
- + "/testCases:export:\001*\312A2\n\027ExportTestCases"
- + "Response\022\027ExportTestCasesMetadata\022\356\001\n\023Li"
- + "stTestCaseResults\022>.google.cloud.dialogf"
- + "low.cx.v3beta1.ListTestCaseResultsReques"
- + "t\032?.google.cloud.dialogflow.cx.v3beta1.L"
- + "istTestCaseResultsResponse\"V\202\323\344\223\002G\022E/v3b"
- + "eta1/{parent=projects/*/locations/*/agen"
- + "ts/*/testCases/*}/results\332A\006parent\022\333\001\n\021G"
- + "etTestCaseResult\022<.google.cloud.dialogfl"
- + "ow.cx.v3beta1.GetTestCaseResultRequest\0322"
+ + "\n\022is_webhook_enabled\030\003 \001(\010\022!\n\031enable_sen"
+ + "timent_analysis\030\007 \001(\010\032\320\003\n\022VirtualAgentOu"
+ + "tput\0223\n\022session_parameters\030\004 \001(\0132\027.googl"
+ + "e.protobuf.Struct\022O\n\013differences\030\005 \003(\01325"
+ ".google.cloud.dialogflow.cx.v3beta1.Test"
- + "CaseResult\"T\202\323\344\223\002G\022E/v3beta1/{name=proje"
- + "cts/*/locations/*/agents/*/testCases/*/r"
- + "esults/*}\332A\004name\032x\312A\031dialogflow.googleap"
- + "is.com\322AYhttps://www.googleapis.com/auth"
- + "/cloud-platform,https://www.googleapis.c"
- + "om/auth/dialogflowB\254\001\n&com.google.cloud."
- + "dialogflow.cx.v3beta1B\rTestCaseProtoP\001ZD"
- + "google.golang.org/genproto/googleapis/cl"
- + "oud/dialogflow/cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"G"
- + "oogle.Cloud.Dialogflow.Cx.V3Beta1b\006proto"
- + "3"
+ + "RunDifferenceB\003\340A\003\0228\n\017diagnostic_info\030\006 "
+ + "\001(\0132\027.google.protobuf.StructB\006\340A\002\340A\004\022D\n\020"
+ + "triggered_intent\030\007 \001(\0132*.google.cloud.di"
+ + "alogflow.cx.v3beta1.Intent\022>\n\014current_pa"
+ + "ge\030\010 \001(\0132(.google.cloud.dialogflow.cx.v3"
+ + "beta1.Page\022P\n\016text_responses\030\t \003(\01328.goo"
+ + "gle.cloud.dialogflow.cx.v3beta1.Response"
+ + "Message.Text\022\"\n\006status\030\n \001(\0132\022.google.rp"
+ + "c.Status\"\322\001\n\021TestRunDifference\022L\n\004type\030\001"
+ + " \001(\0162>.google.cloud.dialogflow.cx.v3beta"
+ + "1.TestRunDifference.DiffType\022\023\n\013descript"
+ + "ion\030\002 \001(\t\"Z\n\010DiffType\022\031\n\025DIFF_TYPE_UNSPE"
+ + "CIFIED\020\000\022\n\n\006INTENT\020\001\022\010\n\004PAGE\020\002\022\016\n\nPARAME"
+ + "TERS\020\003\022\r\n\tUTTERANCE\020\004\"\226\005\n\022TransitionCove"
+ + "rage\022V\n\013transitions\030\001 \003(\0132A.google.cloud"
+ + ".dialogflow.cx.v3beta1.TransitionCoverag"
+ + "e.Transition\022\026\n\016coverage_score\030\002 \001(\002\032\214\001\n"
+ + "\016TransitionNode\0228\n\004page\030\001 \001(\0132(.google.c"
+ + "loud.dialogflow.cx.v3beta1.PageH\000\0228\n\004flo"
+ + "w\030\002 \001(\0132(.google.cloud.dialogflow.cx.v3b"
+ + "eta1.FlowH\000B\006\n\004kind\032\200\003\n\nTransition\022U\n\006so"
+ + "urce\030\001 \001(\0132E.google.cloud.dialogflow.cx."
+ + "v3beta1.TransitionCoverage.TransitionNod"
+ + "e\022\r\n\005index\030\004 \001(\005\022U\n\006target\030\002 \001(\0132E.googl"
+ + "e.cloud.dialogflow.cx.v3beta1.Transition"
+ + "Coverage.TransitionNode\022\017\n\007covered\030\003 \001(\010"
+ + "\022O\n\020transition_route\030\005 \001(\01323.google.clou"
+ + "d.dialogflow.cx.v3beta1.TransitionRouteH"
+ + "\000\022I\n\revent_handler\030\006 \001(\01320.google.cloud."
+ + "dialogflow.cx.v3beta1.EventHandlerH\000B\010\n\006"
+ + "detail\"\341\003\n\034TransitionRouteGroupCoverage\022"
+ + "\\\n\tcoverages\030\001 \003(\0132I.google.cloud.dialog"
+ + "flow.cx.v3beta1.TransitionRouteGroupCove"
+ + "rage.Coverage\022\026\n\016coverage_score\030\002 \001(\002\032\312\002"
+ + "\n\010Coverage\022M\n\013route_group\030\001 \001(\01328.google"
+ + ".cloud.dialogflow.cx.v3beta1.TransitionR"
+ + "outeGroup\022i\n\013transitions\030\002 \003(\0132T.google."
+ + "cloud.dialogflow.cx.v3beta1.TransitionRo"
+ + "uteGroupCoverage.Coverage.Transition\022\026\n\016"
+ + "coverage_score\030\003 \001(\002\032l\n\nTransition\022M\n\020tr"
+ + "ansition_route\030\001 \001(\01323.google.cloud.dial"
+ + "ogflow.cx.v3beta1.TransitionRoute\022\017\n\007cov"
+ + "ered\030\002 \001(\010\"\306\001\n\016IntentCoverage\022J\n\007intents"
+ + "\030\001 \003(\01329.google.cloud.dialogflow.cx.v3be"
+ + "ta1.IntentCoverage.Intent\022\026\n\016coverage_sc"
+ + "ore\030\002 \001(\002\032P\n\006Intent\0225\n\006intent\030\001 \001(\tB%\372A\""
+ + "\n dialogflow.googleapis.com/Intent\022\017\n\007co"
+ + "vered\030\002 \001(\010\"\234\002\n\030CalculateCoverageRequest"
+ + "\0226\n\005agent\030\003 \001(\tB\'\340A\002\372A!\n\037dialogflow.goog"
+ + "leapis.com/Agent\022\\\n\004type\030\002 \001(\0162I.google."
+ + "cloud.dialogflow.cx.v3beta1.CalculateCov"
+ + "erageRequest.CoverageTypeB\003\340A\002\"j\n\014Covera"
+ + "geType\022\035\n\031COVERAGE_TYPE_UNSPECIFIED\020\000\022\n\n"
+ + "\006INTENT\020\001\022\023\n\017PAGE_TRANSITION\020\002\022\032\n\026TRANSI"
+ + "TION_ROUTE_GROUP\020\003\"\351\002\n\031CalculateCoverage"
+ + "Response\0223\n\005agent\030\005 \001(\tB$\372A!\n\037dialogflow"
+ + ".googleapis.com/Agent\022M\n\017intent_coverage"
+ + "\030\002 \001(\01322.google.cloud.dialogflow.cx.v3be"
+ + "ta1.IntentCoverageH\000\022U\n\023transition_cover"
+ + "age\030\004 \001(\01326.google.cloud.dialogflow.cx.v"
+ + "3beta1.TransitionCoverageH\000\022`\n\024route_gro"
+ + "up_coverage\030\006 \001(\0132@.google.cloud.dialogf"
+ + "low.cx.v3beta1.TransitionRouteGroupCover"
+ + "ageH\000B\017\n\rcoverage_type\"\223\002\n\024ListTestCases"
+ + "Request\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dialogf"
+ + "low.googleapis.com/TestCase\022\021\n\tpage_size"
+ + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022S\n\004view\030\004 \001(\016"
+ + "2E.google.cloud.dialogflow.cx.v3beta1.Li"
+ + "stTestCasesRequest.TestCaseView\"C\n\014TestC"
+ + "aseView\022\036\n\032TEST_CASE_VIEW_UNSPECIFIED\020\000\022"
+ + "\t\n\005BASIC\020\001\022\010\n\004FULL\020\002\"r\n\025ListTestCasesRes"
+ + "ponse\022@\n\ntest_cases\030\001 \003(\0132,.google.cloud"
+ + ".dialogflow.cx.v3beta1.TestCase\022\027\n\017next_"
+ + "page_token\030\002 \001(\t\"\224\001\n\033BatchDeleteTestCase"
+ + "sRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dialog"
+ + "flow.googleapis.com/TestCase\0229\n\005names\030\003 "
+ + "\003(\tB*\340A\002\372A$\n\"dialogflow.googleapis.com/T"
+ + "estCase\"\231\001\n\025CreateTestCaseRequest\022:\n\006par"
+ + "ent\030\001 \001(\tB*\340A\002\372A$\022\"dialogflow.googleapis"
+ + ".com/TestCase\022D\n\ttest_case\030\002 \001(\0132,.googl"
+ + "e.cloud.dialogflow.cx.v3beta1.TestCaseB\003"
+ + "\340A\002\"\223\001\n\025UpdateTestCaseRequest\022D\n\ttest_ca"
+ + "se\030\001 \001(\0132,.google.cloud.dialogflow.cx.v3"
+ + "beta1.TestCaseB\003\340A\002\0224\n\013update_mask\030\002 \001(\013"
+ + "2\032.google.protobuf.FieldMaskB\003\340A\002\"N\n\022Get"
+ + "TestCaseRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"d"
+ + "ialogflow.googleapis.com/TestCase\"\222\001\n\022Ru"
+ + "nTestCaseRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\""
+ + "dialogflow.googleapis.com/TestCase\022B\n\013en"
+ + "vironment\030\002 \001(\tB-\340A\001\372A\'\n%dialogflow.goog"
+ + "leapis.com/Environment\"Y\n\023RunTestCaseRes"
+ + "ponse\022B\n\006result\030\002 \001(\01322.google.cloud.dia"
+ + "logflow.cx.v3beta1.TestCaseResult\"\025\n\023Run"
+ + "TestCaseMetadata\"\332\001\n\030BatchRunTestCasesRe"
+ + "quest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dialogflo"
+ + "w.googleapis.com/TestCase\022B\n\013environment"
+ + "\030\002 \001(\tB-\340A\001\372A\'\n%dialogflow.googleapis.co"
+ + "m/Environment\022>\n\ntest_cases\030\003 \003(\tB*\340A\002\372A"
+ + "$\n\"dialogflow.googleapis.com/TestCase\"`\n"
+ + "\031BatchRunTestCasesResponse\022C\n\007results\030\001 "
+ + "\003(\01322.google.cloud.dialogflow.cx.v3beta1"
+ + ".TestCaseResult\"Z\n\031BatchRunTestCasesMeta"
+ + "data\022=\n\006errors\030\001 \003(\0132-.google.cloud.dial"
+ + "ogflow.cx.v3beta1.TestError\"\232\001\n\tTestErro"
+ + "r\022:\n\ttest_case\030\001 \001(\tB\'\372A$\n\"dialogflow.go"
+ + "ogleapis.com/TestCase\022\"\n\006status\030\002 \001(\0132\022."
+ + "google.rpc.Status\022-\n\ttest_time\030\003 \001(\0132\032.g"
+ + "oogle.protobuf.Timestamp\"\204\001\n\026ImportTestC"
+ + "asesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dia"
+ + "logflow.googleapis.com/TestCase\022\021\n\007gcs_u"
+ + "ri\030\002 \001(\tH\000\022\021\n\007content\030\003 \001(\014H\000B\010\n\006source\""
+ + "Q\n\027ImportTestCasesResponse\0226\n\005names\030\001 \003("
+ + "\tB\'\372A$\n\"dialogflow.googleapis.com/TestCa"
+ + "se\"\\\n\027ImportTestCasesMetadata\022A\n\006errors\030"
+ + "\001 \003(\01321.google.cloud.dialogflow.cx.v3bet"
+ + "a1.TestCaseError\"t\n\rTestCaseError\022?\n\ttes"
+ + "t_case\030\001 \001(\0132,.google.cloud.dialogflow.c"
+ + "x.v3beta1.TestCase\022\"\n\006status\030\002 \001(\0132\022.goo"
+ + "gle.rpc.Status\"\241\002\n\026ExportTestCasesReques"
+ + "t\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\022\"dialogflow.go"
+ + "ogleapis.com/TestCase\022\021\n\007gcs_uri\030\002 \001(\tH\000"
+ + "\022Z\n\013data_format\030\003 \001(\0162E.google.cloud.dia"
+ + "logflow.cx.v3beta1.ExportTestCasesReques"
+ + "t.DataFormat\022\016\n\006filter\030\004 \001(\t\"=\n\nDataForm"
+ + "at\022\033\n\027DATA_FORMAT_UNSPECIFIED\020\000\022\010\n\004BLOB\020"
+ + "\001\022\010\n\004JSON\020\002B\r\n\013destination\"N\n\027ExportTest"
+ + "CasesResponse\022\021\n\007gcs_uri\030\001 \001(\tH\000\022\021\n\007cont"
+ + "ent\030\002 \001(\014H\000B\r\n\013destination\"\031\n\027ExportTest"
+ + "CasesMetadata\"\225\001\n\032ListTestCaseResultsReq"
+ + "uest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\022(dialogflow"
+ + ".googleapis.com/TestCaseResult\022\021\n\tpage_s"
+ + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030"
+ + "\004 \001(\t\"\205\001\n\033ListTestCaseResultsResponse\022M\n"
+ + "\021test_case_results\030\001 \003(\01322.google.cloud."
+ + "dialogflow.cx.v3beta1.TestCaseResult\022\027\n\017"
+ + "next_page_token\030\002 \001(\t\"Z\n\030GetTestCaseResu"
+ + "ltRequest\022>\n\004name\030\001 \001(\tB0\340A\002\372A*\n(dialogf"
+ + "low.googleapis.com/TestCaseResult*A\n\nTes"
+ + "tResult\022\033\n\027TEST_RESULT_UNSPECIFIED\020\000\022\n\n\006"
+ + "PASSED\020\001\022\n\n\006FAILED\020\0022\266\026\n\tTestCases\022\322\001\n\rL"
+ + "istTestCases\0228.google.cloud.dialogflow.c"
+ + "x.v3beta1.ListTestCasesRequest\0329.google."
+ + "cloud.dialogflow.cx.v3beta1.ListTestCase"
+ + "sResponse\"L\202\323\344\223\002=\022;/v3beta1/{parent=proj"
+ + "ects/*/locations/*/agents/*}/testCases\332A"
+ + "\006parent\022\314\001\n\024BatchDeleteTestCases\022?.googl"
+ + "e.cloud.dialogflow.cx.v3beta1.BatchDelet"
+ + "eTestCasesRequest\032\026.google.protobuf.Empt"
+ + "y\"[\202\323\344\223\002L\"G/v3beta1/{parent=projects/*/l"
+ + "ocations/*/agents/*}/testCases:batchDele"
+ + "te:\001*\332A\006parent\022\277\001\n\013GetTestCase\0226.google."
+ + "cloud.dialogflow.cx.v3beta1.GetTestCaseR"
+ + "equest\032,.google.cloud.dialogflow.cx.v3be"
+ + "ta1.TestCase\"J\202\323\344\223\002=\022;/v3beta1/{name=pro"
+ + "jects/*/locations/*/agents/*/testCases/*"
+ + "}\332A\004name\022\334\001\n\016CreateTestCase\0229.google.clo"
+ + "ud.dialogflow.cx.v3beta1.CreateTestCaseR"
+ + "equest\032,.google.cloud.dialogflow.cx.v3be"
+ + "ta1.TestCase\"a\202\323\344\223\002H\";/v3beta1/{parent=p"
+ + "rojects/*/locations/*/agents/*}/testCase"
+ + "s:\ttest_case\332A\020parent,test_case\022\353\001\n\016Upda"
+ + "teTestCase\0229.google.cloud.dialogflow.cx."
+ + "v3beta1.UpdateTestCaseRequest\032,.google.c"
+ + "loud.dialogflow.cx.v3beta1.TestCase\"p\202\323\344"
+ + "\223\002R2E/v3beta1/{test_case.name=projects/*"
+ + "/locations/*/agents/*/testCases/*}:\ttest"
+ + "_case\332A\025test_case,update_mask\022\335\001\n\013RunTes"
+ + "tCase\0226.google.cloud.dialogflow.cx.v3bet"
+ + "a1.RunTestCaseRequest\032\035.google.longrunni"
+ + "ng.Operation\"w\202\323\344\223\002D\"?/v3beta1/{name=pro"
+ + "jects/*/locations/*/agents/*/testCases/*"
+ + "}:run:\001*\312A*\n\023RunTestCaseResponse\022\023RunTes"
+ + "tCaseMetadata\022\373\001\n\021BatchRunTestCases\022<.go"
+ + "ogle.cloud.dialogflow.cx.v3beta1.BatchRu"
+ + "nTestCasesRequest\032\035.google.longrunning.O"
+ + "peration\"\210\001\202\323\344\223\002I\"D/v3beta1/{parent=proj"
+ + "ects/*/locations/*/agents/*}/testCases:b"
+ + "atchRun:\001*\312A6\n\031BatchRunTestCasesResponse"
+ + "\022\031BatchRunTestCasesMetadata\022\346\001\n\021Calculat"
+ + "eCoverage\022<.google.cloud.dialogflow.cx.v"
+ + "3beta1.CalculateCoverageRequest\032=.google"
+ + ".cloud.dialogflow.cx.v3beta1.CalculateCo"
+ + "verageResponse\"T\202\323\344\223\002N\022L/v3beta1/{agent="
+ + "projects/*/locations/*/agents/*}/testCas"
+ + "es:calculateCoverage\022\361\001\n\017ImportTestCases"
+ + "\022:.google.cloud.dialogflow.cx.v3beta1.Im"
+ + "portTestCasesRequest\032\035.google.longrunnin"
+ + "g.Operation\"\202\001\202\323\344\223\002G\"B/v3beta1/{parent=p"
+ + "rojects/*/locations/*/agents/*}/testCase"
+ + "s:import:\001*\312A2\n\027ImportTestCasesResponse\022"
+ + "\027ImportTestCasesMetadata\022\361\001\n\017ExportTestC"
+ + "ases\022:.google.cloud.dialogflow.cx.v3beta"
+ + "1.ExportTestCasesRequest\032\035.google.longru"
+ + "nning.Operation\"\202\001\202\323\344\223\002G\"B/v3beta1/{pare"
+ + "nt=projects/*/locations/*/agents/*}/test"
+ + "Cases:export:\001*\312A2\n\027ExportTestCasesRespo"
+ + "nse\022\027ExportTestCasesMetadata\022\356\001\n\023ListTes"
+ + "tCaseResults\022>.google.cloud.dialogflow.c"
+ + "x.v3beta1.ListTestCaseResultsRequest\032?.g"
+ + "oogle.cloud.dialogflow.cx.v3beta1.ListTe"
+ + "stCaseResultsResponse\"V\202\323\344\223\002G\022E/v3beta1/"
+ + "{parent=projects/*/locations/*/agents/*/"
+ + "testCases/*}/results\332A\006parent\022\333\001\n\021GetTes"
+ + "tCaseResult\022<.google.cloud.dialogflow.cx"
+ + ".v3beta1.GetTestCaseResultRequest\0322.goog"
+ + "le.cloud.dialogflow.cx.v3beta1.TestCaseR"
+ + "esult\"T\202\323\344\223\002G\022E/v3beta1/{name=projects/*"
+ + "/locations/*/agents/*/testCases/*/result"
+ + "s/*}\332A\004name\032x\312A\031dialogflow.googleapis.co"
+ + "m\322AYhttps://www.googleapis.com/auth/clou"
+ + "d-platform,https://www.googleapis.com/au"
+ + "th/dialogflowB\254\001\n&com.google.cloud.dialo"
+ + "gflow.cx.v3beta1B\rTestCaseProtoP\001ZDgoogl"
+ + "e.golang.org/genproto/googleapis/cloud/d"
+ + "ialogflow/cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google"
+ + ".Cloud.Dialogflow.Cx.V3Beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -538,7 +538,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_ConversationTurn_UserInput_descriptor,
new java.lang.String[] {
- "Input", "InjectedParameters", "IsWebhookEnabled",
+ "Input", "InjectedParameters", "IsWebhookEnabled", "EnableSentimentAnalysis",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_ConversationTurn_VirtualAgentOutput_descriptor =
internal_static_google_cloud_dialogflow_cx_v3beta1_ConversationTurn_descriptor
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/test_case.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/test_case.proto
index accda7e53..c640be6ff 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/test_case.proto
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/test_case.proto
@@ -266,6 +266,9 @@ message ConversationTurn {
// utterance. Often if parameters are injected, webhooks should not be
// enabled.
bool is_webhook_enabled = 3;
+
+ // Whether sentiment analysis is enabled.
+ bool enable_sentiment_analysis = 7;
}
// The output from the virtual agent.
diff --git a/synth.metadata b/synth.metadata
index 0388319c1..15aa1a746 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,23 +4,23 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-dialogflow-cx.git",
- "sha": "97f71abf7b6ffc6ea89dfdfdf1e7a7a0c79a0590"
+ "sha": "06c8e0e9921916967e7d67174fc22016c42b925f"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "a5f96d06ef57e325761bad010f460d0c5dbeccda",
- "internalRef": "377081269"
+ "sha": "90717db757582fdda158463c613ee6f5334a98a4",
+ "internalRef": "377947699"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "a5f96d06ef57e325761bad010f460d0c5dbeccda",
- "internalRef": "377081269"
+ "sha": "90717db757582fdda158463c613ee6f5334a98a4",
+ "internalRef": "377947699"
}
},
{
From e6dc52ef4a1b4b652cfe189a92ab91e7fed77b3d Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot - * Immutable. The default language of the agent as a language tag. + * Required. Immutable. The default language of the agent as a language tag. * See [Language * Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) * for a list of the currently supported language codes. * This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent] method. ** - *
string default_language_code = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ *
+ * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ *
*
* @return The defaultLanguageCode.
*/
@@ -352,14 +354,16 @@ public java.lang.String getDefaultLanguageCode() {
*
*
* - * Immutable. The default language of the agent as a language tag. + * Required. Immutable. The default language of the agent as a language tag. * See [Language * Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) * for a list of the currently supported language codes. * This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent] method. ** - *
string default_language_code = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ *
+ * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ *
*
* @return The bytes for defaultLanguageCode.
*/
@@ -1566,14 +1570,16 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
* - * Immutable. The default language of the agent as a language tag. + * Required. Immutable. The default language of the agent as a language tag. * See [Language * Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) * for a list of the currently supported language codes. * This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent] method. ** - *
string default_language_code = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ *
+ * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ *
*
* @return The defaultLanguageCode.
*/
@@ -1592,14 +1598,16 @@ public java.lang.String getDefaultLanguageCode() {
*
*
* - * Immutable. The default language of the agent as a language tag. + * Required. Immutable. The default language of the agent as a language tag. * See [Language * Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) * for a list of the currently supported language codes. * This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent] method. ** - *
string default_language_code = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ *
+ * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ *
*
* @return The bytes for defaultLanguageCode.
*/
@@ -1618,14 +1626,16 @@ public com.google.protobuf.ByteString getDefaultLanguageCodeBytes() {
*
*
* - * Immutable. The default language of the agent as a language tag. + * Required. Immutable. The default language of the agent as a language tag. * See [Language * Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) * for a list of the currently supported language codes. * This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent] method. ** - *
string default_language_code = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ *
+ * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ *
*
* @param value The defaultLanguageCode to set.
* @return This builder for chaining.
@@ -1643,14 +1653,16 @@ public Builder setDefaultLanguageCode(java.lang.String value) {
*
*
* - * Immutable. The default language of the agent as a language tag. + * Required. Immutable. The default language of the agent as a language tag. * See [Language * Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) * for a list of the currently supported language codes. * This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent] method. ** - *
string default_language_code = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ *
+ * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ *
*
* @return This builder for chaining.
*/
@@ -1664,14 +1676,16 @@ public Builder clearDefaultLanguageCode() {
*
*
* - * Immutable. The default language of the agent as a language tag. + * Required. Immutable. The default language of the agent as a language tag. * See [Language * Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) * for a list of the currently supported language codes. * This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent] method. ** - *
string default_language_code = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ *
+ * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ *
*
* @param value The bytes for defaultLanguageCode to set.
* @return This builder for chaining.
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentOrBuilder.java
index eb6478fb4..b455a0b2f 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentOrBuilder.java
@@ -83,14 +83,16 @@ public interface AgentOrBuilder
*
*
* - * Immutable. The default language of the agent as a language tag. + * Required. Immutable. The default language of the agent as a language tag. * See [Language * Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) * for a list of the currently supported language codes. * This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent] method. ** - *
string default_language_code = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ *
+ * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ *
*
* @return The defaultLanguageCode.
*/
@@ -99,14 +101,16 @@ public interface AgentOrBuilder
*
*
* - * Immutable. The default language of the agent as a language tag. + * Required. Immutable. The default language of the agent as a language tag. * See [Language * Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) * for a list of the currently supported language codes. * This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent] method. ** - *
string default_language_code = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ *
+ * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ *
*
* @return The bytes for defaultLanguageCode.
*/
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java
index 92b401a87..f507d8d8e 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/AgentProto.java
@@ -103,117 +103,117 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "unning/operations.proto\032\033google/protobuf"
+ "/empty.proto\032 google/protobuf/field_mask"
+ ".proto\"8\n\024SpeechToTextSettings\022 \n\030enable"
- + "_speech_adaptation\030\001 \001(\010\"\275\004\n\005Agent\022\014\n\004na"
- + "me\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022\"\n\025d"
- + "efault_language_code\030\003 \001(\tB\003\340A\005\022 \n\030suppo"
- + "rted_language_codes\030\004 \003(\t\022\026\n\ttime_zone\030\005"
- + " \001(\tB\003\340A\002\022\023\n\013description\030\006 \001(\t\022\022\n\navatar"
- + "_uri\030\007 \001(\t\022Y\n\027speech_to_text_settings\030\r "
- + "\001(\01328.google.cloud.dialogflow.cx.v3beta1"
- + ".SpeechToTextSettings\022:\n\nstart_flow\030\020 \001("
- + "\tB&\340A\005\372A \n\036dialogflow.googleapis.com/Flo"
- + "w\022J\n\021security_settings\030\021 \001(\tB/\372A,\n*dialo"
- + "gflow.googleapis.com/SecuritySettings\022\"\n"
- + "\032enable_stackdriver_logging\030\022 \001(\010\022\037\n\027ena"
- + "ble_spell_correction\030\024 \001(\010:\\\352AY\n\037dialogf"
- + "low.googleapis.com/Agent\0226projects/{proj"
- + "ect}/locations/{location}/agents/{agent}"
- + "\"s\n\021ListAgentsRequest\0227\n\006parent\030\001 \001(\tB\'\340"
- + "A\002\372A!\022\037dialogflow.googleapis.com/Agent\022\021"
- + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n"
- + "\022ListAgentsResponse\0229\n\006agents\030\001 \003(\0132).go"
- + "ogle.cloud.dialogflow.cx.v3beta1.Agent\022\027"
- + "\n\017next_page_token\030\002 \001(\t\"H\n\017GetAgentReque"
- + "st\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.goo"
- + "gleapis.com/Agent\"\214\001\n\022CreateAgentRequest"
- + "\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037dialogflow.goo"
- + "gleapis.com/Agent\022=\n\005agent\030\002 \001(\0132).googl"
- + "e.cloud.dialogflow.cx.v3beta1.AgentB\003\340A\002"
- + "\"\204\001\n\022UpdateAgentRequest\022=\n\005agent\030\001 \001(\0132)"
+ + "_speech_adaptation\030\001 \001(\010\"\300\004\n\005Agent\022\014\n\004na"
+ + "me\030\001 \001(\t\022\031\n\014display_name\030\002 \001(\tB\003\340A\002\022%\n\025d"
+ + "efault_language_code\030\003 \001(\tB\006\340A\002\340A\005\022 \n\030su"
+ + "pported_language_codes\030\004 \003(\t\022\026\n\ttime_zon"
+ + "e\030\005 \001(\tB\003\340A\002\022\023\n\013description\030\006 \001(\t\022\022\n\nava"
+ + "tar_uri\030\007 \001(\t\022Y\n\027speech_to_text_settings"
+ + "\030\r \001(\01328.google.cloud.dialogflow.cx.v3be"
+ + "ta1.SpeechToTextSettings\022:\n\nstart_flow\030\020"
+ + " \001(\tB&\340A\005\372A \n\036dialogflow.googleapis.com/"
+ + "Flow\022J\n\021security_settings\030\021 \001(\tB/\372A,\n*di"
+ + "alogflow.googleapis.com/SecuritySettings"
+ + "\022\"\n\032enable_stackdriver_logging\030\022 \001(\010\022\037\n\027"
+ + "enable_spell_correction\030\024 \001(\010:\\\352AY\n\037dial"
+ + "ogflow.googleapis.com/Agent\0226projects/{p"
+ + "roject}/locations/{location}/agents/{age"
+ + "nt}\"s\n\021ListAgentsRequest\0227\n\006parent\030\001 \001(\t"
+ + "B\'\340A\002\372A!\022\037dialogflow.googleapis.com/Agen"
+ + "t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t"
+ + "\"h\n\022ListAgentsResponse\0229\n\006agents\030\001 \003(\0132)"
+ ".google.cloud.dialogflow.cx.v3beta1.Agen"
- + "tB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.pro"
- + "tobuf.FieldMask\"K\n\022DeleteAgentRequest\0225\n"
- + "\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleap"
- + "is.com/Agent\"\247\001\n\022ExportAgentRequest\0225\n\004n"
- + "ame\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googleapis"
- + ".com/Agent\022\026\n\tagent_uri\030\002 \001(\tB\003\340A\001\022B\n\013en"
- + "vironment\030\005 \001(\tB-\340A\001\372A\'\n%dialogflow.goog"
- + "leapis.com/Environment\"L\n\023ExportAgentRes"
- + "ponse\022\023\n\tagent_uri\030\001 \001(\tH\000\022\027\n\ragent_cont"
- + "ent\030\002 \001(\014H\000B\007\n\005agent\"\253\002\n\023RestoreAgentReq"
- + "uest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.g"
- + "oogleapis.com/Agent\022\023\n\tagent_uri\030\002 \001(\tH\000"
- + "\022\027\n\ragent_content\030\003 \001(\014H\000\022]\n\016restore_opt"
- + "ion\030\005 \001(\0162E.google.cloud.dialogflow.cx.v"
- + "3beta1.RestoreAgentRequest.RestoreOption"
- + "\"G\n\rRestoreOption\022\036\n\032RESTORE_OPTION_UNSP"
- + "ECIFIED\020\000\022\010\n\004KEEP\020\001\022\014\n\010FALLBACK\020\002B\007\n\005age"
- + "nt\"d\n\024ValidateAgentRequest\0225\n\004name\030\001 \001(\t"
- + "B\'\340A\002\372A!\n\037dialogflow.googleapis.com/Agen"
- + "t\022\025\n\rlanguage_code\030\002 \001(\t\"\177\n\037GetAgentVali"
- + "dationResultRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A"
- + "1\n/dialogflow.googleapis.com/AgentValida"
- + "tionResult\022\025\n\rlanguage_code\030\002 \001(\t\"\377\001\n\025Ag"
- + "entValidationResult\022\014\n\004name\030\001 \001(\t\022Y\n\027flo"
- + "w_validation_results\030\002 \003(\01328.google.clou"
- + "d.dialogflow.cx.v3beta1.FlowValidationRe"
- + "sult:}\352Az\n/dialogflow.googleapis.com/Age"
- + "ntValidationResult\022Gprojects/{project}/l"
- + "ocations/{location}/agents/{agent}/valid"
- + "ationResult2\221\017\n\006Agents\022\275\001\n\nListAgents\0225."
- + "google.cloud.dialogflow.cx.v3beta1.ListA"
- + "gentsRequest\0326.google.cloud.dialogflow.c"
- + "x.v3beta1.ListAgentsResponse\"@\202\323\344\223\0021\022//v"
- + "3beta1/{parent=projects/*/locations/*}/a"
- + "gents\332A\006parent\022\252\001\n\010GetAgent\0223.google.clo"
- + "ud.dialogflow.cx.v3beta1.GetAgentRequest"
- + "\032).google.cloud.dialogflow.cx.v3beta1.Ag"
- + "ent\">\202\323\344\223\0021\022//v3beta1/{name=projects/*/l"
- + "ocations/*/agents/*}\332A\004name\022\277\001\n\013CreateAg"
- + "ent\0226.google.cloud.dialogflow.cx.v3beta1"
- + ".CreateAgentRequest\032).google.cloud.dialo"
- + "gflow.cx.v3beta1.Agent\"M\202\323\344\223\0028\"//v3beta1"
- + "/{parent=projects/*/locations/*}/agents:"
- + "\005agent\332A\014parent,agent\022\312\001\n\013UpdateAgent\0226."
- + "google.cloud.dialogflow.cx.v3beta1.Updat"
- + "eAgentRequest\032).google.cloud.dialogflow."
- + "cx.v3beta1.Agent\"X\202\323\344\223\002>25/v3beta1/{agen"
- + "t.name=projects/*/locations/*/agents/*}:"
- + "\005agent\332A\021agent,update_mask\022\235\001\n\013DeleteAge"
- + "nt\0226.google.cloud.dialogflow.cx.v3beta1."
- + "DeleteAgentRequest\032\026.google.protobuf.Emp"
- + "ty\">\202\323\344\223\0021*//v3beta1/{name=projects/*/lo"
- + "cations/*/agents/*}\332A\004name\022\327\001\n\013ExportAge"
- + "nt\0226.google.cloud.dialogflow.cx.v3beta1."
- + "ExportAgentRequest\032\035.google.longrunning."
- + "Operation\"q\202\323\344\223\002;\"6/v3beta1/{name=projec"
- + "ts/*/locations/*/agents/*}:export:\001*\312A-\n"
- + "\023ExportAgentResponse\022\026google.protobuf.St"
- + "ruct\022\334\001\n\014RestoreAgent\0227.google.cloud.dia"
- + "logflow.cx.v3beta1.RestoreAgentRequest\032\035"
- + ".google.longrunning.Operation\"t\202\323\344\223\002<\"7/"
- + "v3beta1/{name=projects/*/locations/*/age"
- + "nts/*}:restore:\001*\312A/\n\025google.protobuf.Em"
- + "pty\022\026google.protobuf.Struct\022\311\001\n\rValidate"
- + "Agent\0228.google.cloud.dialogflow.cx.v3bet"
- + "a1.ValidateAgentRequest\0329.google.cloud.d"
- + "ialogflow.cx.v3beta1.AgentValidationResu"
- + "lt\"C\202\323\344\223\002=\"8/v3beta1/{name=projects/*/lo"
- + "cations/*/agents/*}:validate:\001*\022\353\001\n\030GetA"
- + "gentValidationResult\022C.google.cloud.dial"
- + "ogflow.cx.v3beta1.GetAgentValidationResu"
- + "ltRequest\0329.google.cloud.dialogflow.cx.v"
- + "3beta1.AgentValidationResult\"O\202\323\344\223\002B\022@/v"
- + "3beta1/{name=projects/*/locations/*/agen"
- + "ts/*/validationResult}\332A\004name\032x\312A\031dialog"
- + "flow.googleapis.com\322AYhttps://www.google"
- + "apis.com/auth/cloud-platform,https://www"
- + ".googleapis.com/auth/dialogflowB\251\001\n&com."
- + "google.cloud.dialogflow.cx.v3beta1B\nAgen"
- + "tProtoP\001ZDgoogle.golang.org/genproto/goo"
- + "gleapis/cloud/dialogflow/cx/v3beta1;cx\370\001"
- + "\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Be"
- + "ta1b\006proto3"
+ + "t\022\027\n\017next_page_token\030\002 \001(\t\"H\n\017GetAgentRe"
+ + "quest\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow."
+ + "googleapis.com/Agent\"\214\001\n\022CreateAgentRequ"
+ + "est\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\022\037dialogflow."
+ + "googleapis.com/Agent\022=\n\005agent\030\002 \001(\0132).go"
+ + "ogle.cloud.dialogflow.cx.v3beta1.AgentB\003"
+ + "\340A\002\"\204\001\n\022UpdateAgentRequest\022=\n\005agent\030\001 \001("
+ + "\0132).google.cloud.dialogflow.cx.v3beta1.A"
+ + "gentB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google."
+ + "protobuf.FieldMask\"K\n\022DeleteAgentRequest"
+ + "\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googl"
+ + "eapis.com/Agent\"\247\001\n\022ExportAgentRequest\0225"
+ + "\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflow.googlea"
+ + "pis.com/Agent\022\026\n\tagent_uri\030\002 \001(\tB\003\340A\001\022B\n"
+ + "\013environment\030\005 \001(\tB-\340A\001\372A\'\n%dialogflow.g"
+ + "oogleapis.com/Environment\"L\n\023ExportAgent"
+ + "Response\022\023\n\tagent_uri\030\001 \001(\tH\000\022\027\n\ragent_c"
+ + "ontent\030\002 \001(\014H\000B\007\n\005agent\"\253\002\n\023RestoreAgent"
+ + "Request\0225\n\004name\030\001 \001(\tB\'\340A\002\372A!\n\037dialogflo"
+ + "w.googleapis.com/Agent\022\023\n\tagent_uri\030\002 \001("
+ + "\tH\000\022\027\n\ragent_content\030\003 \001(\014H\000\022]\n\016restore_"
+ + "option\030\005 \001(\0162E.google.cloud.dialogflow.c"
+ + "x.v3beta1.RestoreAgentRequest.RestoreOpt"
+ + "ion\"G\n\rRestoreOption\022\036\n\032RESTORE_OPTION_U"
+ + "NSPECIFIED\020\000\022\010\n\004KEEP\020\001\022\014\n\010FALLBACK\020\002B\007\n\005"
+ + "agent\"d\n\024ValidateAgentRequest\0225\n\004name\030\001 "
+ + "\001(\tB\'\340A\002\372A!\n\037dialogflow.googleapis.com/A"
+ + "gent\022\025\n\rlanguage_code\030\002 \001(\t\"\177\n\037GetAgentV"
+ + "alidationResultRequest\022E\n\004name\030\001 \001(\tB7\340A"
+ + "\002\372A1\n/dialogflow.googleapis.com/AgentVal"
+ + "idationResult\022\025\n\rlanguage_code\030\002 \001(\t\"\377\001\n"
+ + "\025AgentValidationResult\022\014\n\004name\030\001 \001(\t\022Y\n\027"
+ + "flow_validation_results\030\002 \003(\01328.google.c"
+ + "loud.dialogflow.cx.v3beta1.FlowValidatio"
+ + "nResult:}\352Az\n/dialogflow.googleapis.com/"
+ + "AgentValidationResult\022Gprojects/{project"
+ + "}/locations/{location}/agents/{agent}/va"
+ + "lidationResult2\221\017\n\006Agents\022\275\001\n\nListAgents"
+ + "\0225.google.cloud.dialogflow.cx.v3beta1.Li"
+ + "stAgentsRequest\0326.google.cloud.dialogflo"
+ + "w.cx.v3beta1.ListAgentsResponse\"@\202\323\344\223\0021\022"
+ + "//v3beta1/{parent=projects/*/locations/*"
+ + "}/agents\332A\006parent\022\252\001\n\010GetAgent\0223.google."
+ + "cloud.dialogflow.cx.v3beta1.GetAgentRequ"
+ + "est\032).google.cloud.dialogflow.cx.v3beta1"
+ + ".Agent\">\202\323\344\223\0021\022//v3beta1/{name=projects/"
+ + "*/locations/*/agents/*}\332A\004name\022\277\001\n\013Creat"
+ + "eAgent\0226.google.cloud.dialogflow.cx.v3be"
+ + "ta1.CreateAgentRequest\032).google.cloud.di"
+ + "alogflow.cx.v3beta1.Agent\"M\202\323\344\223\0028\"//v3be"
+ + "ta1/{parent=projects/*/locations/*}/agen"
+ + "ts:\005agent\332A\014parent,agent\022\312\001\n\013UpdateAgent"
+ + "\0226.google.cloud.dialogflow.cx.v3beta1.Up"
+ + "dateAgentRequest\032).google.cloud.dialogfl"
+ + "ow.cx.v3beta1.Agent\"X\202\323\344\223\002>25/v3beta1/{a"
+ + "gent.name=projects/*/locations/*/agents/"
+ + "*}:\005agent\332A\021agent,update_mask\022\235\001\n\013Delete"
+ + "Agent\0226.google.cloud.dialogflow.cx.v3bet"
+ + "a1.DeleteAgentRequest\032\026.google.protobuf."
+ + "Empty\">\202\323\344\223\0021*//v3beta1/{name=projects/*"
+ + "/locations/*/agents/*}\332A\004name\022\327\001\n\013Export"
+ + "Agent\0226.google.cloud.dialogflow.cx.v3bet"
+ + "a1.ExportAgentRequest\032\035.google.longrunni"
+ + "ng.Operation\"q\202\323\344\223\002;\"6/v3beta1/{name=pro"
+ + "jects/*/locations/*/agents/*}:export:\001*\312"
+ + "A-\n\023ExportAgentResponse\022\026google.protobuf"
+ + ".Struct\022\334\001\n\014RestoreAgent\0227.google.cloud."
+ + "dialogflow.cx.v3beta1.RestoreAgentReques"
+ + "t\032\035.google.longrunning.Operation\"t\202\323\344\223\002<"
+ + "\"7/v3beta1/{name=projects/*/locations/*/"
+ + "agents/*}:restore:\001*\312A/\n\025google.protobuf"
+ + ".Empty\022\026google.protobuf.Struct\022\311\001\n\rValid"
+ + "ateAgent\0228.google.cloud.dialogflow.cx.v3"
+ + "beta1.ValidateAgentRequest\0329.google.clou"
+ + "d.dialogflow.cx.v3beta1.AgentValidationR"
+ + "esult\"C\202\323\344\223\002=\"8/v3beta1/{name=projects/*"
+ + "/locations/*/agents/*}:validate:\001*\022\353\001\n\030G"
+ + "etAgentValidationResult\022C.google.cloud.d"
+ + "ialogflow.cx.v3beta1.GetAgentValidationR"
+ + "esultRequest\0329.google.cloud.dialogflow.c"
+ + "x.v3beta1.AgentValidationResult\"O\202\323\344\223\002B\022"
+ + "@/v3beta1/{name=projects/*/locations/*/a"
+ + "gents/*/validationResult}\332A\004name\032x\312A\031dia"
+ + "logflow.googleapis.com\322AYhttps://www.goo"
+ + "gleapis.com/auth/cloud-platform,https://"
+ + "www.googleapis.com/auth/dialogflowB\251\001\n&c"
+ + "om.google.cloud.dialogflow.cx.v3beta1B\nA"
+ + "gentProtoP\001ZDgoogle.golang.org/genproto/"
+ + "googleapis/cloud/dialogflow/cx/v3beta1;c"
+ + "x\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V"
+ + "3Beta1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponse.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponse.java
index c144fbed4..c84bebdc1 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponse.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponse.java
@@ -40,6 +40,7 @@ private DetectIntentResponse(com.google.protobuf.GeneratedMessageV3.Builder> b
private DetectIntentResponse() {
responseId_ = "";
outputAudio_ = com.google.protobuf.ByteString.EMPTY;
+ responseType_ = 0;
}
@java.lang.Override
@@ -115,6 +116,18 @@ private DetectIntentResponse(
outputAudioConfig_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 48:
+ {
+ int rawValue = input.readEnum();
+
+ responseType_ = rawValue;
+ break;
+ }
+ case 56:
+ {
+ allowCancellation_ = input.readBool();
break;
}
default:
@@ -151,6 +164,169 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.Builder.class);
}
+ /**
+ *
+ *
+ * + * Represents different DetectIntentResponse types. + *+ * + * Protobuf enum {@code google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType} + */ + public enum ResponseType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Not specified. This should never happen. + *+ * + *
RESPONSE_TYPE_UNSPECIFIED = 0;
+ */
+ RESPONSE_TYPE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * Partial response. e.g. Aggregated responses in a Fulfillment that enables + * `return_partial_response` can be returned as partial response. + * WARNING: partial response is not eligible for barge-in. + *+ * + *
PARTIAL = 1;
+ */
+ PARTIAL(1),
+ /**
+ *
+ *
+ * + * Final response. + *+ * + *
FINAL = 2;
+ */
+ FINAL(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Not specified. This should never happen. + *+ * + *
RESPONSE_TYPE_UNSPECIFIED = 0;
+ */
+ public static final int RESPONSE_TYPE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ * + * Partial response. e.g. Aggregated responses in a Fulfillment that enables + * `return_partial_response` can be returned as partial response. + * WARNING: partial response is not eligible for barge-in. + *+ * + *
PARTIAL = 1;
+ */
+ public static final int PARTIAL_VALUE = 1;
+ /**
+ *
+ *
+ * + * Final response. + *+ * + *
FINAL = 2;
+ */
+ public static final int FINAL_VALUE = 2;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static ResponseType valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static ResponseType forNumber(int value) {
+ switch (value) {
+ case 0:
+ return RESPONSE_TYPE_UNSPECIFIED;
+ case 1:
+ return PARTIAL;
+ case 2:
+ return FINAL;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * Response type. + *+ * + *
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType response_type = 6;
+ *
+ *
+ * @return The enum numeric value on the wire for responseType.
+ */
+ @java.lang.Override
+ public int getResponseTypeValue() {
+ return responseType_;
+ }
+ /**
+ *
+ *
+ * + * Response type. + *+ * + *
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType response_type = 6;
+ *
+ *
+ * @return The responseType.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType
+ getResponseType() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType result =
+ com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType.valueOf(
+ responseType_);
+ return result == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType.UNRECOGNIZED
+ : result;
+ }
+
+ public static final int ALLOW_CANCELLATION_FIELD_NUMBER = 7;
+ private boolean allowCancellation_;
+ /**
+ *
+ *
+ * + * Indicates whether the partial response can be cancelled when a later + * response arrives. e.g. if the agent specified some music as partial + * response, it can be cancelled. + *+ * + *
bool allow_cancellation = 7;
+ *
+ * @return The allowCancellation.
+ */
+ @java.lang.Override
+ public boolean getAllowCancellation() {
+ return allowCancellation_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -352,6 +590,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (outputAudioConfig_ != null) {
output.writeMessage(5, getOutputAudioConfig());
}
+ if (responseType_
+ != com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType
+ .RESPONSE_TYPE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(6, responseType_);
+ }
+ if (allowCancellation_ != false) {
+ output.writeBool(7, allowCancellation_);
+ }
unknownFields.writeTo(output);
}
@@ -373,6 +620,15 @@ public int getSerializedSize() {
if (outputAudioConfig_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getOutputAudioConfig());
}
+ if (responseType_
+ != com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType
+ .RESPONSE_TYPE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, responseType_);
+ }
+ if (allowCancellation_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, allowCancellation_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -399,6 +655,8 @@ public boolean equals(final java.lang.Object obj) {
if (hasOutputAudioConfig()) {
if (!getOutputAudioConfig().equals(other.getOutputAudioConfig())) return false;
}
+ if (responseType_ != other.responseType_) return false;
+ if (getAllowCancellation() != other.getAllowCancellation()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -422,6 +680,10 @@ public int hashCode() {
hash = (37 * hash) + OUTPUT_AUDIO_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getOutputAudioConfig().hashCode();
}
+ hash = (37 * hash) + RESPONSE_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + responseType_;
+ hash = (37 * hash) + ALLOW_CANCELLATION_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowCancellation());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -584,6 +846,10 @@ public Builder clear() {
outputAudioConfig_ = null;
outputAudioConfigBuilder_ = null;
}
+ responseType_ = 0;
+
+ allowCancellation_ = false;
+
return this;
}
@@ -623,6 +889,8 @@ public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse buildPartial(
} else {
result.outputAudioConfig_ = outputAudioConfigBuilder_.build();
}
+ result.responseType_ = responseType_;
+ result.allowCancellation_ = allowCancellation_;
onBuilt();
return result;
}
@@ -686,6 +954,12 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResp
if (other.hasOutputAudioConfig()) {
mergeOutputAudioConfig(other.getOutputAudioConfig());
}
+ if (other.responseType_ != 0) {
+ setResponseTypeValue(other.getResponseTypeValue());
+ }
+ if (other.getAllowCancellation() != false) {
+ setAllowCancellation(other.getAllowCancellation());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1286,6 +1560,170 @@ public Builder clearOutputAudioConfig() {
return outputAudioConfigBuilder_;
}
+ private int responseType_ = 0;
+ /**
+ *
+ *
+ * + * Response type. + *+ * + *
+ * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType response_type = 6;
+ *
+ *
+ * @return The enum numeric value on the wire for responseType.
+ */
+ @java.lang.Override
+ public int getResponseTypeValue() {
+ return responseType_;
+ }
+ /**
+ *
+ *
+ * + * Response type. + *+ * + *
+ * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType response_type = 6;
+ *
+ *
+ * @param value The enum numeric value on the wire for responseType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setResponseTypeValue(int value) {
+
+ responseType_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Response type. + *+ * + *
+ * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType response_type = 6;
+ *
+ *
+ * @return The responseType.
+ */
+ @java.lang.Override
+ public com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType
+ getResponseType() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType result =
+ com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType.valueOf(
+ responseType_);
+ return result == null
+ ? com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * Response type. + *+ * + *
+ * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType response_type = 6;
+ *
+ *
+ * @param value The responseType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setResponseType(
+ com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ responseType_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Response type. + *+ * + *
+ * .google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType response_type = 6;
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearResponseType() {
+
+ responseType_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private boolean allowCancellation_;
+ /**
+ *
+ *
+ * + * Indicates whether the partial response can be cancelled when a later + * response arrives. e.g. if the agent specified some music as partial + * response, it can be cancelled. + *+ * + *
bool allow_cancellation = 7;
+ *
+ * @return The allowCancellation.
+ */
+ @java.lang.Override
+ public boolean getAllowCancellation() {
+ return allowCancellation_;
+ }
+ /**
+ *
+ *
+ * + * Indicates whether the partial response can be cancelled when a later + * response arrives. e.g. if the agent specified some music as partial + * response, it can be cancelled. + *+ * + *
bool allow_cancellation = 7;
+ *
+ * @param value The allowCancellation to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAllowCancellation(boolean value) {
+
+ allowCancellation_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Indicates whether the partial response can be cancelled when a later + * response arrives. e.g. if the agent specified some music as partial + * response, it can be cancelled. + *+ * + *
bool allow_cancellation = 7;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAllowCancellation() {
+
+ allowCancellation_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponseOrBuilder.java
index 0acc80768..73ed305fe 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponseOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/DetectIntentResponseOrBuilder.java
@@ -141,4 +141,46 @@ public interface DetectIntentResponseOrBuilder
* .google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig output_audio_config = 5;
*/
com.google.cloud.dialogflow.cx.v3beta1.OutputAudioConfigOrBuilder getOutputAudioConfigOrBuilder();
+
+ /**
+ *
+ *
+ * + * Response type. + *+ * + *
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType response_type = 6;
+ *
+ *
+ * @return The enum numeric value on the wire for responseType.
+ */
+ int getResponseTypeValue();
+ /**
+ *
+ *
+ * + * Response type. + *+ * + *
.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType response_type = 6;
+ *
+ *
+ * @return The responseType.
+ */
+ com.google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse.ResponseType getResponseType();
+
+ /**
+ *
+ *
+ * + * Indicates whether the partial response can be cancelled when a later + * response arrives. e.g. if the agent specified some music as partial + * response, it can be cancelled. + *+ * + *
bool allow_cancellation = 7;
+ *
+ * @return The allowCancellation.
+ */
+ boolean getAllowCancellation();
}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Fulfillment.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Fulfillment.java
index f45b0543c..935d8967e 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Fulfillment.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/Fulfillment.java
@@ -140,6 +140,11 @@ private Fulfillment(
extensionRegistry));
break;
}
+ case 64:
+ {
+ returnPartialResponses_ = input.readBool();
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -5150,6 +5155,32 @@ public com.google.protobuf.ByteString getWebhookBytes() {
}
}
+ public static final int RETURN_PARTIAL_RESPONSES_FIELD_NUMBER = 8;
+ private boolean returnPartialResponses_;
+ /**
+ *
+ *
+ * + * Whether Dialogflow should return currently queued fulfillment response + * messages in streaming APIs. If a webhook is specified, it happens before + * Dialogflow invokes webhook. + * Warning: + * 1) This flag only affects streaming API. Responses are still queued + * and returned once in non-streaming API. + * 2) The flag can be enabled in any fulfillment but only the first 3 partial + * responses will be returned. You may only want to apply it to fulfillments + * that have slow webhooks. + *+ * + *
bool return_partial_responses = 8;
+ *
+ * @return The returnPartialResponses.
+ */
+ @java.lang.Override
+ public boolean getReturnPartialResponses() {
+ return returnPartialResponses_;
+ }
+
public static final int TAG_FIELD_NUMBER = 3;
private volatile java.lang.Object tag_;
/**
@@ -5398,6 +5429,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < conditionalCases_.size(); i++) {
output.writeMessage(5, conditionalCases_.get(i));
}
+ if (returnPartialResponses_ != false) {
+ output.writeBool(8, returnPartialResponses_);
+ }
unknownFields.writeTo(output);
}
@@ -5423,6 +5457,9 @@ public int getSerializedSize() {
for (int i = 0; i < conditionalCases_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, conditionalCases_.get(i));
}
+ if (returnPartialResponses_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, returnPartialResponses_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -5441,6 +5478,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getMessagesList().equals(other.getMessagesList())) return false;
if (!getWebhook().equals(other.getWebhook())) return false;
+ if (getReturnPartialResponses() != other.getReturnPartialResponses()) return false;
if (!getTag().equals(other.getTag())) return false;
if (!getSetParameterActionsList().equals(other.getSetParameterActionsList())) return false;
if (!getConditionalCasesList().equals(other.getConditionalCasesList())) return false;
@@ -5461,6 +5499,8 @@ public int hashCode() {
}
hash = (37 * hash) + WEBHOOK_FIELD_NUMBER;
hash = (53 * hash) + getWebhook().hashCode();
+ hash = (37 * hash) + RETURN_PARTIAL_RESPONSES_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialResponses());
hash = (37 * hash) + TAG_FIELD_NUMBER;
hash = (53 * hash) + getTag().hashCode();
if (getSetParameterActionsCount() > 0) {
@@ -5636,6 +5676,8 @@ public Builder clear() {
}
webhook_ = "";
+ returnPartialResponses_ = false;
+
tag_ = "";
if (setParameterActionsBuilder_ == null) {
@@ -5688,6 +5730,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.Fulfillment buildPartial() {
result.messages_ = messagesBuilder_.build();
}
result.webhook_ = webhook_;
+ result.returnPartialResponses_ = returnPartialResponses_;
result.tag_ = tag_;
if (setParameterActionsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
@@ -5788,6 +5831,9 @@ public Builder mergeFrom(com.google.cloud.dialogflow.cx.v3beta1.Fulfillment othe
webhook_ = other.webhook_;
onChanged();
}
+ if (other.getReturnPartialResponses() != false) {
+ setReturnPartialResponses(other.getReturnPartialResponses());
+ }
if (!other.getTag().isEmpty()) {
tag_ = other.tag_;
onChanged();
@@ -6354,6 +6400,82 @@ public Builder setWebhookBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private boolean returnPartialResponses_;
+ /**
+ *
+ *
+ * + * Whether Dialogflow should return currently queued fulfillment response + * messages in streaming APIs. If a webhook is specified, it happens before + * Dialogflow invokes webhook. + * Warning: + * 1) This flag only affects streaming API. Responses are still queued + * and returned once in non-streaming API. + * 2) The flag can be enabled in any fulfillment but only the first 3 partial + * responses will be returned. You may only want to apply it to fulfillments + * that have slow webhooks. + *+ * + *
bool return_partial_responses = 8;
+ *
+ * @return The returnPartialResponses.
+ */
+ @java.lang.Override
+ public boolean getReturnPartialResponses() {
+ return returnPartialResponses_;
+ }
+ /**
+ *
+ *
+ * + * Whether Dialogflow should return currently queued fulfillment response + * messages in streaming APIs. If a webhook is specified, it happens before + * Dialogflow invokes webhook. + * Warning: + * 1) This flag only affects streaming API. Responses are still queued + * and returned once in non-streaming API. + * 2) The flag can be enabled in any fulfillment but only the first 3 partial + * responses will be returned. You may only want to apply it to fulfillments + * that have slow webhooks. + *+ * + *
bool return_partial_responses = 8;
+ *
+ * @param value The returnPartialResponses to set.
+ * @return This builder for chaining.
+ */
+ public Builder setReturnPartialResponses(boolean value) {
+
+ returnPartialResponses_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Whether Dialogflow should return currently queued fulfillment response + * messages in streaming APIs. If a webhook is specified, it happens before + * Dialogflow invokes webhook. + * Warning: + * 1) This flag only affects streaming API. Responses are still queued + * and returned once in non-streaming API. + * 2) The flag can be enabled in any fulfillment but only the first 3 partial + * responses will be returned. You may only want to apply it to fulfillments + * that have slow webhooks. + *+ * + *
bool return_partial_responses = 8;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearReturnPartialResponses() {
+
+ returnPartialResponses_ = false;
+ onChanged();
+ return this;
+ }
+
private java.lang.Object tag_ = "";
/**
*
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentOrBuilder.java
index 82858d573..30f9e6da2 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentOrBuilder.java
@@ -104,6 +104,27 @@ public interface FulfillmentOrBuilder
*/
com.google.protobuf.ByteString getWebhookBytes();
+ /**
+ *
+ *
+ * + * Whether Dialogflow should return currently queued fulfillment response + * messages in streaming APIs. If a webhook is specified, it happens before + * Dialogflow invokes webhook. + * Warning: + * 1) This flag only affects streaming API. Responses are still queued + * and returned once in non-streaming API. + * 2) The flag can be enabled in any fulfillment but only the first 3 partial + * responses will be returned. You may only want to apply it to fulfillments + * that have slow webhooks. + *+ * + *
bool return_partial_responses = 8;
+ *
+ * @return The returnPartialResponses.
+ */
+ boolean getReturnPartialResponses();
+
/**
*
*
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentProto.java
index da558718b..6cebb2050 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentProto.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FulfillmentProto.java
@@ -61,34 +61,35 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "cx.v3beta1\032\031google/api/resource.proto\0329g"
+ "oogle/cloud/dialogflow/cx/v3beta1/respon"
+ "se_message.proto\032\034google/protobuf/struct"
- + ".proto\032\034google/api/annotations.proto\"\344\006\n"
+ + ".proto\032\034google/api/annotations.proto\"\206\007\n"
+ "\013Fulfillment\022E\n\010messages\030\001 \003(\01323.google."
+ "cloud.dialogflow.cx.v3beta1.ResponseMess"
+ "age\0227\n\007webhook\030\002 \001(\tB&\372A#\n!dialogflow.go"
- + "ogleapis.com/Webhook\022\013\n\003tag\030\003 \001(\t\022a\n\025set"
- + "_parameter_actions\030\004 \003(\0132B.google.cloud."
- + "dialogflow.cx.v3beta1.Fulfillment.SetPar"
- + "ameterAction\022[\n\021conditional_cases\030\005 \003(\0132"
- + "@.google.cloud.dialogflow.cx.v3beta1.Ful"
- + "fillment.ConditionalCases\032N\n\022SetParamete"
- + "rAction\022\021\n\tparameter\030\001 \001(\t\022%\n\005value\030\002 \001("
- + "\0132\026.google.protobuf.Value\032\267\003\n\020Conditiona"
- + "lCases\022T\n\005cases\030\001 \003(\0132E.google.cloud.dia"
- + "logflow.cx.v3beta1.Fulfillment.Condition"
- + "alCases.Case\032\314\002\n\004Case\022\021\n\tcondition\030\001 \001(\t"
- + "\022g\n\014case_content\030\002 \003(\0132Q.google.cloud.di"
- + "alogflow.cx.v3beta1.Fulfillment.Conditio"
- + "nalCases.Case.CaseContent\032\307\001\n\013CaseConten"
- + "t\022F\n\007message\030\001 \001(\01323.google.cloud.dialog"
- + "flow.cx.v3beta1.ResponseMessageH\000\022\\\n\020add"
- + "itional_cases\030\002 \001(\0132@.google.cloud.dialo"
- + "gflow.cx.v3beta1.Fulfillment.Conditional"
- + "CasesH\000B\022\n\020cases_or_messageB\257\001\n&com.goog"
- + "le.cloud.dialogflow.cx.v3beta1B\020Fulfillm"
- + "entProtoP\001ZDgoogle.golang.org/genproto/g"
- + "oogleapis/cloud/dialogflow/cx/v3beta1;cx"
- + "\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow.Cx.V3"
- + "Beta1b\006proto3"
+ + "ogleapis.com/Webhook\022 \n\030return_partial_r"
+ + "esponses\030\010 \001(\010\022\013\n\003tag\030\003 \001(\t\022a\n\025set_param"
+ + "eter_actions\030\004 \003(\0132B.google.cloud.dialog"
+ + "flow.cx.v3beta1.Fulfillment.SetParameter"
+ + "Action\022[\n\021conditional_cases\030\005 \003(\0132@.goog"
+ + "le.cloud.dialogflow.cx.v3beta1.Fulfillme"
+ + "nt.ConditionalCases\032N\n\022SetParameterActio"
+ + "n\022\021\n\tparameter\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.go"
+ + "ogle.protobuf.Value\032\267\003\n\020ConditionalCases"
+ + "\022T\n\005cases\030\001 \003(\0132E.google.cloud.dialogflo"
+ + "w.cx.v3beta1.Fulfillment.ConditionalCase"
+ + "s.Case\032\314\002\n\004Case\022\021\n\tcondition\030\001 \001(\t\022g\n\014ca"
+ + "se_content\030\002 \003(\0132Q.google.cloud.dialogfl"
+ + "ow.cx.v3beta1.Fulfillment.ConditionalCas"
+ + "es.Case.CaseContent\032\307\001\n\013CaseContent\022F\n\007m"
+ + "essage\030\001 \001(\01323.google.cloud.dialogflow.c"
+ + "x.v3beta1.ResponseMessageH\000\022\\\n\020additiona"
+ + "l_cases\030\002 \001(\0132@.google.cloud.dialogflow."
+ + "cx.v3beta1.Fulfillment.ConditionalCasesH"
+ + "\000B\022\n\020cases_or_messageB\257\001\n&com.google.clo"
+ + "ud.dialogflow.cx.v3beta1B\020FulfillmentPro"
+ + "toP\001ZDgoogle.golang.org/genproto/googlea"
+ + "pis/cloud/dialogflow/cx/v3beta1;cx\370\001\001\242\002\002"
+ + "DF\252\002\"Google.Cloud.Dialogflow.Cx.V3Beta1b"
+ + "\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -105,7 +106,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_Fulfillment_descriptor,
new java.lang.String[] {
- "Messages", "Webhook", "Tag", "SetParameterActions", "ConditionalCases",
+ "Messages",
+ "Webhook",
+ "ReturnPartialResponses",
+ "Tag",
+ "SetParameterActions",
+ "ConditionalCases",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_Fulfillment_SetParameterAction_descriptor =
internal_static_google_cloud_dialogflow_cx_v3beta1_Fulfillment_descriptor
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java
index 87afec3dc..76dd97b55 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParameters.java
@@ -596,8 +596,9 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() {
*
* * The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current - * page][QueryResult.current_page] in the session. Format: `projects/<Project - * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. + * page][QueryResult.current_page] in the session. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/flows/<Flow ID>/pages/<Page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session @@ -628,8 +629,9 @@ public java.lang.String getCurrentPage() { * ** ** The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current - * page][QueryResult.current_page] in the session. Format: `projects/<Project - * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. + * page][QueryResult.current_page] in the session. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/flows/<Flow ID>/pages/<Page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session @@ -2743,8 +2745,9 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * ** ** The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current - * page][QueryResult.current_page] in the session. Format: `projects/<Project - * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. + * page][QueryResult.current_page] in the session. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/flows/<Flow ID>/pages/<Page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session @@ -2774,8 +2777,9 @@ public java.lang.String getCurrentPage() { * ** ** The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current - * page][QueryResult.current_page] in the session. Format: `projects/<Project - * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. + * page][QueryResult.current_page] in the session. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/flows/<Flow ID>/pages/<Page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session @@ -2805,8 +2809,9 @@ public com.google.protobuf.ByteString getCurrentPageBytes() { * ** ** The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current - * page][QueryResult.current_page] in the session. Format: `projects/<Project - * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. + * page][QueryResult.current_page] in the session. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/flows/<Flow ID>/pages/<Page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session @@ -2835,8 +2840,9 @@ public Builder setCurrentPage(java.lang.String value) { * ** ** The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current - * page][QueryResult.current_page] in the session. Format: `projects/<Project - * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. + * page][QueryResult.current_page] in the session. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/flows/<Flow ID>/pages/<Page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session @@ -2861,8 +2867,9 @@ public Builder clearCurrentPage() { * ** ** The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current - * page][QueryResult.current_page] in the session. Format: `projects/<Project - * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. + * page][QueryResult.current_page] in the session. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/flows/<Flow ID>/pages/<Page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java index 73e498ef7..bc5cc8da3 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/QueryParametersOrBuilder.java @@ -323,8 +323,9 @@ com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypeOrBuilder getSessionEnti * ** ** The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current - * page][QueryResult.current_page] in the session. Format: `projects/<Project - * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. + * page][QueryResult.current_page] in the session. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/flows/<Flow ID>/pages/<Page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session @@ -344,8 +345,9 @@ com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypeOrBuilder getSessionEnti * ** ** The unique identifier of the [page][google.cloud.dialogflow.cx.v3beta1.Page] to override the [current - * page][QueryResult.current_page] in the session. Format: `projects/<Project - * ID>/locations/<Location ID>/agents/<Agent ID>/pages/<page ID>`. + * page][QueryResult.current_page] in the session. + * Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent + * ID>/flows/<Flow ID>/pages/<Page ID>`. * If `current_page` is specified, the previous state of the session will be * ignored by Dialogflow, including the [previous * page][QueryResult.current_page] and the [previous session diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettings.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettings.java index 07be6275f..2ffd6a753 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettings.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettings.java @@ -849,8 +849,10 @@ public int getRedactionScopeValue() { * settings. * If empty, we use the default DLP inspect config. * The template name will have one of the following formats: - * `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR - * `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + * `projects/<Project ID>/inspectTemplates/<Template ID>` OR + * `projects/<Project ID>/locations/<Location ID>/inspectTemplates/<Template + * ID>` OR + * `organizations/<Organization ID>/inspectTemplates/<Template ID>` ** *string inspect_template = 9;
@@ -877,8 +879,10 @@ public java.lang.String getInspectTemplate() { * settings. * If empty, we use the default DLP inspect config. * The template name will have one of the following formats: - * `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR - * `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + * `projects/<Project ID>/inspectTemplates/<Template ID>` OR + * `projects/<Project ID>/locations/<Location ID>/inspectTemplates/<Template + * ID>` OR + * `organizations/<Organization ID>/inspectTemplates/<Template ID>` *string inspect_template = 9;
@@ -2017,8 +2021,10 @@ public Builder clearRedactionScope() { * settings. * If empty, we use the default DLP inspect config. * The template name will have one of the following formats: - * `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR - * `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + * `projects/<Project ID>/inspectTemplates/<Template ID>` OR + * `projects/<Project ID>/locations/<Location ID>/inspectTemplates/<Template + * ID>` OR + * `organizations/<Organization ID>/inspectTemplates/<Template ID>` *string inspect_template = 9;
@@ -2044,8 +2050,10 @@ public java.lang.String getInspectTemplate() { * settings. * If empty, we use the default DLP inspect config. * The template name will have one of the following formats: - * `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR - * `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + * `projects/<Project ID>/inspectTemplates/<Template ID>` OR + * `projects/<Project ID>/locations/<Location ID>/inspectTemplates/<Template + * ID>` OR + * `organizations/<Organization ID>/inspectTemplates/<Template ID>` *string inspect_template = 9;
@@ -2071,8 +2079,10 @@ public com.google.protobuf.ByteString getInspectTemplateBytes() { * settings. * If empty, we use the default DLP inspect config. * The template name will have one of the following formats: - * `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR - * `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + * `projects/<Project ID>/inspectTemplates/<Template ID>` OR + * `projects/<Project ID>/locations/<Location ID>/inspectTemplates/<Template + * ID>` OR + * `organizations/<Organization ID>/inspectTemplates/<Template ID>` *string inspect_template = 9;
@@ -2097,8 +2107,10 @@ public Builder setInspectTemplate(java.lang.String value) { * settings. * If empty, we use the default DLP inspect config. * The template name will have one of the following formats: - * `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR - * `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + * `projects/<Project ID>/inspectTemplates/<Template ID>` OR + * `projects/<Project ID>/locations/<Location ID>/inspectTemplates/<Template + * ID>` OR + * `organizations/<Organization ID>/inspectTemplates/<Template ID>` *string inspect_template = 9;
@@ -2119,8 +2131,10 @@ public Builder clearInspectTemplate() { * settings. * If empty, we use the default DLP inspect config. * The template name will have one of the following formats: - * `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR - * `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + * `projects/<Project ID>/inspectTemplates/<Template ID>` OR + * `projects/<Project ID>/locations/<Location ID>/inspectTemplates/<Template + * ID>` OR + * `organizations/<Organization ID>/inspectTemplates/<Template ID>` *string inspect_template = 9;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettingsOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettingsOrBuilder.java index ea33201d9..31bcdcca4 100644 --- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettingsOrBuilder.java +++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SecuritySettingsOrBuilder.java @@ -147,8 +147,10 @@ public interface SecuritySettingsOrBuilder * settings. * If empty, we use the default DLP inspect config. * The template name will have one of the following formats: - * `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR - * `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + * `projects/<Project ID>/inspectTemplates/<Template ID>` OR + * `projects/<Project ID>/locations/<Location ID>/inspectTemplates/<Template + * ID>` OR + * `organizations/<Organization ID>/inspectTemplates/<Template ID>` *string inspect_template = 9;
@@ -164,8 +166,10 @@ public interface SecuritySettingsOrBuilder * settings. * If empty, we use the default DLP inspect config. * The template name will have one of the following formats: - * `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR - * `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` + * `projects/<Project ID>/inspectTemplates/<Template ID>` OR + * `projects/<Project ID>/locations/<Location ID>/inspectTemplates/<Template + * ID>` OR + * `organizations/<Organization ID>/inspectTemplates/<Template ID>` *
string inspect_template = 9;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java
index 55e6d9afd..f3dffe0c4 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/SessionProto.java
@@ -139,165 +139,170 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "y_input\030\003 \001(\0132..google.cloud.dialogflow."
+ "cx.v3beta1.QueryInputB\003\340A\002\022R\n\023output_aud"
+ "io_config\030\004 \001(\01325.google.cloud.dialogflo"
- + "w.cx.v3beta1.OutputAudioConfig\"\334\001\n\024Detec"
+ + "w.cx.v3beta1.OutputAudioConfig\"\235\003\n\024Detec"
+ "tIntentResponse\022\023\n\013response_id\030\001 \001(\t\022E\n\014"
+ "query_result\030\002 \001(\0132/.google.cloud.dialog"
+ "flow.cx.v3beta1.QueryResult\022\024\n\014output_au"
+ "dio\030\004 \001(\014\022R\n\023output_audio_config\030\005 \001(\01325"
+ ".google.cloud.dialogflow.cx.v3beta1.Outp"
- + "utAudioConfig\"\300\002\n\034StreamingDetectIntentR"
- + "equest\0227\n\007session\030\001 \001(\tB&\372A#\n!dialogflow"
- + ".googleapis.com/Session\022I\n\014query_params\030"
- + "\002 \001(\01323.google.cloud.dialogflow.cx.v3bet"
- + "a1.QueryParameters\022H\n\013query_input\030\003 \001(\0132"
- + "..google.cloud.dialogflow.cx.v3beta1.Que"
- + "ryInputB\003\340A\002\022R\n\023output_audio_config\030\004 \001("
- + "\01325.google.cloud.dialogflow.cx.v3beta1.O"
- + "utputAudioConfig\"\345\001\n\035StreamingDetectInte"
- + "ntResponse\022\\\n\022recognition_result\030\001 \001(\0132>"
- + ".google.cloud.dialogflow.cx.v3beta1.Stre"
- + "amingRecognitionResultH\000\022Z\n\026detect_inten"
- + "t_response\030\002 \001(\01328.google.cloud.dialogfl"
- + "ow.cx.v3beta1.DetectIntentResponseH\000B\n\n\010"
- + "response\"\251\003\n\032StreamingRecognitionResult\022"
- + "`\n\014message_type\030\001 \001(\0162J.google.cloud.dia"
- + "logflow.cx.v3beta1.StreamingRecognitionR"
- + "esult.MessageType\022\022\n\ntranscript\030\002 \001(\t\022\020\n"
- + "\010is_final\030\003 \001(\010\022\022\n\nconfidence\030\004 \001(\002\022\021\n\ts"
- + "tability\030\006 \001(\002\022L\n\020speech_word_info\030\007 \003(\013"
- + "22.google.cloud.dialogflow.cx.v3beta1.Sp"
- + "eechWordInfo\0224\n\021speech_end_offset\030\010 \001(\0132"
- + "\031.google.protobuf.Duration\"X\n\013MessageTyp"
- + "e\022\034\n\030MESSAGE_TYPE_UNSPECIFIED\020\000\022\016\n\nTRANS"
- + "CRIPT\020\001\022\033\n\027END_OF_SINGLE_UTTERANCE\020\002\"\216\004\n"
- + "\017QueryParameters\022\021\n\ttime_zone\030\001 \001(\t\022)\n\014g"
- + "eo_location\030\002 \001(\0132\023.google.type.LatLng\022S"
- + "\n\024session_entity_types\030\003 \003(\01325.google.cl"
- + "oud.dialogflow.cx.v3beta1.SessionEntityT"
- + "ype\022(\n\007payload\030\004 \001(\0132\027.google.protobuf.S"
- + "truct\022+\n\nparameters\030\005 \001(\0132\027.google.proto"
- + "buf.Struct\0229\n\014current_page\030\006 \001(\tB#\372A \n\036d"
- + "ialogflow.googleapis.com/Page\022\027\n\017disable"
- + "_webhook\030\007 \001(\010\022$\n\034analyze_query_text_sen"
- + "timent\030\010 \001(\010\022`\n\017webhook_headers\030\n \003(\0132G."
- + "google.cloud.dialogflow.cx.v3beta1.Query"
- + "Parameters.WebhookHeadersEntry\0325\n\023Webhoo"
- + "kHeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001("
- + "\t:\0028\001\"\364\002\n\nQueryInput\022=\n\004text\030\002 \001(\0132-.goo"
- + "gle.cloud.dialogflow.cx.v3beta1.TextInpu"
- + "tH\000\022A\n\006intent\030\003 \001(\0132/.google.cloud.dialo"
- + "gflow.cx.v3beta1.IntentInputH\000\022?\n\005audio\030"
- + "\005 \001(\0132..google.cloud.dialogflow.cx.v3bet"
- + "a1.AudioInputH\000\022?\n\005event\030\006 \001(\0132..google."
- + "cloud.dialogflow.cx.v3beta1.EventInputH\000"
- + "\022=\n\004dtmf\030\007 \001(\0132-.google.cloud.dialogflow"
- + ".cx.v3beta1.DtmfInputH\000\022\032\n\rlanguage_code"
- + "\030\004 \001(\tB\003\340A\002B\007\n\005input\"\200\006\n\013QueryResult\022\016\n\004"
- + "text\030\001 \001(\tH\000\022?\n\016trigger_intent\030\013 \001(\tB%\372A"
- + "\"\n dialogflow.googleapis.com/IntentH\000\022\024\n"
- + "\ntranscript\030\014 \001(\tH\000\022\027\n\rtrigger_event\030\016 \001"
- + "(\tH\000\022\025\n\rlanguage_code\030\002 \001(\t\022+\n\nparameter"
- + "s\030\003 \001(\0132\027.google.protobuf.Struct\022N\n\021resp"
- + "onse_messages\030\004 \003(\01323.google.cloud.dialo"
- + "gflow.cx.v3beta1.ResponseMessage\022,\n\020webh"
- + "ook_statuses\030\r \003(\0132\022.google.rpc.Status\0221"
- + "\n\020webhook_payloads\030\006 \003(\0132\027.google.protob"
- + "uf.Struct\022>\n\014current_page\030\007 \001(\0132(.google"
- + ".cloud.dialogflow.cx.v3beta1.Page\022>\n\006int"
- + "ent\030\010 \001(\0132*.google.cloud.dialogflow.cx.v"
- + "3beta1.IntentB\002\030\001\022\'\n\033intent_detection_co"
- + "nfidence\030\t \001(\002B\002\030\001\0228\n\005match\030\017 \001(\0132).goog"
- + "le.cloud.dialogflow.cx.v3beta1.Match\0220\n\017"
- + "diagnostic_info\030\n \001(\0132\027.google.protobuf."
- + "Struct\022^\n\031sentiment_analysis_result\030\021 \001("
- + "\0132;.google.cloud.dialogflow.cx.v3beta1.S"
- + "entimentAnalysisResultB\007\n\005query\"\036\n\tTextI"
- + "nput\022\021\n\004text\030\001 \001(\tB\003\340A\002\"G\n\013IntentInput\0228"
- + "\n\006intent\030\001 \001(\tB(\340A\002\372A\"\n dialogflow.googl"
- + "eapis.com/Intent\"f\n\nAudioInput\022I\n\006config"
- + "\030\001 \001(\01324.google.cloud.dialogflow.cx.v3be"
- + "ta1.InputAudioConfigB\003\340A\002\022\r\n\005audio\030\002 \001(\014"
- + "\"\033\n\nEventInput\022\r\n\005event\030\001 \001(\t\"1\n\tDtmfInp"
- + "ut\022\016\n\006digits\030\001 \001(\t\022\024\n\014finish_digit\030\002 \001(\t"
- + "\"\373\002\n\005Match\022:\n\006intent\030\001 \001(\0132*.google.clou"
- + "d.dialogflow.cx.v3beta1.Intent\022\r\n\005event\030"
- + "\006 \001(\t\022+\n\nparameters\030\002 \001(\0132\027.google.proto"
- + "buf.Struct\022\026\n\016resolved_input\030\003 \001(\t\022G\n\nma"
- + "tch_type\030\004 \001(\01623.google.cloud.dialogflow"
- + ".cx.v3beta1.Match.MatchType\022\022\n\nconfidenc"
- + "e\030\005 \001(\002\"\204\001\n\tMatchType\022\032\n\026MATCH_TYPE_UNSP"
- + "ECIFIED\020\000\022\n\n\006INTENT\020\001\022\021\n\rDIRECT_INTENT\020\002"
- + "\022\025\n\021PARAMETER_FILLING\020\003\022\014\n\010NO_MATCH\020\004\022\014\n"
- + "\010NO_INPUT\020\005\022\t\n\005EVENT\020\006\"\345\001\n\022MatchIntentRe"
- + "quest\022:\n\007session\030\001 \001(\tB)\340A\002\372A#\n!dialogfl"
- + "ow.googleapis.com/Session\022I\n\014query_param"
- + "s\030\002 \001(\01323.google.cloud.dialogflow.cx.v3b"
- + "eta1.QueryParameters\022H\n\013query_input\030\003 \001("
- + "\0132..google.cloud.dialogflow.cx.v3beta1.Q"
- + "ueryInputB\003\340A\002\"\232\002\n\023MatchIntentResponse\022\016"
- + "\n\004text\030\001 \001(\tH\000\022?\n\016trigger_intent\030\002 \001(\tB%"
- + "\372A\"\n dialogflow.googleapis.com/IntentH\000\022"
- + "\024\n\ntranscript\030\003 \001(\tH\000\022\027\n\rtrigger_event\030\006"
- + " \001(\tH\000\022:\n\007matches\030\004 \003(\0132).google.cloud.d"
- + "ialogflow.cx.v3beta1.Match\022>\n\014current_pa"
- + "ge\030\005 \001(\0132(.google.cloud.dialogflow.cx.v3"
- + "beta1.PageB\007\n\005query\"\372\001\n\024FulfillIntentReq"
- + "uest\022T\n\024match_intent_request\030\001 \001(\01326.goo"
- + "gle.cloud.dialogflow.cx.v3beta1.MatchInt"
- + "entRequest\0228\n\005match\030\002 \001(\0132).google.cloud"
- + ".dialogflow.cx.v3beta1.Match\022R\n\023output_a"
- + "udio_config\030\003 \001(\01325.google.cloud.dialogf"
- + "low.cx.v3beta1.OutputAudioConfig\"\335\001\n\025Ful"
- + "fillIntentResponse\022\023\n\013response_id\030\001 \001(\t\022"
- + "E\n\014query_result\030\002 \001(\0132/.google.cloud.dia"
- + "logflow.cx.v3beta1.QueryResult\022\024\n\014output"
- + "_audio\030\003 \001(\014\022R\n\023output_audio_config\030\004 \001("
- + "\01325.google.cloud.dialogflow.cx.v3beta1.O"
- + "utputAudioConfig\";\n\027SentimentAnalysisRes"
- + "ult\022\r\n\005score\030\001 \001(\002\022\021\n\tmagnitude\030\002 \001(\0022\212\n"
- + "\n\010Sessions\022\272\002\n\014DetectIntent\0227.google.clo"
- + "ud.dialogflow.cx.v3beta1.DetectIntentReq"
- + "uest\0328.google.cloud.dialogflow.cx.v3beta"
- + "1.DetectIntentResponse\"\266\001\202\323\344\223\002\257\001\"J/v3bet"
- + "a1/{session=projects/*/locations/*/agent"
- + "s/*/sessions/*}:detectIntent:\001*Z^\"Y/v3be"
- + "ta1/{session=projects/*/locations/*/agen"
- + "ts/*/environments/*/sessions/*}:detectIn"
- + "tent:\001*\022\242\001\n\025StreamingDetectIntent\022@.goog"
- + "le.cloud.dialogflow.cx.v3beta1.Streaming"
- + "DetectIntentRequest\032A.google.cloud.dialo"
+ + "utAudioConfig\022\\\n\rresponse_type\030\006 \001(\0162E.g"
+ + "oogle.cloud.dialogflow.cx.v3beta1.Detect"
+ + "IntentResponse.ResponseType\022\032\n\022allow_can"
+ + "cellation\030\007 \001(\010\"E\n\014ResponseType\022\035\n\031RESPO"
+ + "NSE_TYPE_UNSPECIFIED\020\000\022\013\n\007PARTIAL\020\001\022\t\n\005F"
+ + "INAL\020\002\"\341\002\n\034StreamingDetectIntentRequest\022"
+ + "7\n\007session\030\001 \001(\tB&\372A#\n!dialogflow.google"
+ + "apis.com/Session\022I\n\014query_params\030\002 \001(\01323"
+ + ".google.cloud.dialogflow.cx.v3beta1.Quer"
+ + "yParameters\022H\n\013query_input\030\003 \001(\0132..googl"
+ + "e.cloud.dialogflow.cx.v3beta1.QueryInput"
+ + "B\003\340A\002\022R\n\023output_audio_config\030\004 \001(\01325.goo"
+ + "gle.cloud.dialogflow.cx.v3beta1.OutputAu"
+ + "dioConfig\022\037\n\027enable_partial_response\030\005 \001"
+ + "(\010\"\345\001\n\035StreamingDetectIntentResponse\022\\\n\022"
+ + "recognition_result\030\001 \001(\0132>.google.cloud."
+ + "dialogflow.cx.v3beta1.StreamingRecogniti"
+ + "onResultH\000\022Z\n\026detect_intent_response\030\002 \001"
+ + "(\01328.google.cloud.dialogflow.cx.v3beta1."
+ + "DetectIntentResponseH\000B\n\n\010response\"\251\003\n\032S"
+ + "treamingRecognitionResult\022`\n\014message_typ"
+ + "e\030\001 \001(\0162J.google.cloud.dialogflow.cx.v3b"
+ + "eta1.StreamingRecognitionResult.MessageT"
+ + "ype\022\022\n\ntranscript\030\002 \001(\t\022\020\n\010is_final\030\003 \001("
+ + "\010\022\022\n\nconfidence\030\004 \001(\002\022\021\n\tstability\030\006 \001(\002"
+ + "\022L\n\020speech_word_info\030\007 \003(\01322.google.clou"
+ + "d.dialogflow.cx.v3beta1.SpeechWordInfo\0224"
+ + "\n\021speech_end_offset\030\010 \001(\0132\031.google.proto"
+ + "buf.Duration\"X\n\013MessageType\022\034\n\030MESSAGE_T"
+ + "YPE_UNSPECIFIED\020\000\022\016\n\nTRANSCRIPT\020\001\022\033\n\027END"
+ + "_OF_SINGLE_UTTERANCE\020\002\"\216\004\n\017QueryParamete"
+ + "rs\022\021\n\ttime_zone\030\001 \001(\t\022)\n\014geo_location\030\002 "
+ + "\001(\0132\023.google.type.LatLng\022S\n\024session_enti"
+ + "ty_types\030\003 \003(\01325.google.cloud.dialogflow"
+ + ".cx.v3beta1.SessionEntityType\022(\n\007payload"
+ + "\030\004 \001(\0132\027.google.protobuf.Struct\022+\n\nparam"
+ + "eters\030\005 \001(\0132\027.google.protobuf.Struct\0229\n\014"
+ + "current_page\030\006 \001(\tB#\372A \n\036dialogflow.goog"
+ + "leapis.com/Page\022\027\n\017disable_webhook\030\007 \001(\010"
+ + "\022$\n\034analyze_query_text_sentiment\030\010 \001(\010\022`"
+ + "\n\017webhook_headers\030\n \003(\0132G.google.cloud.d"
+ + "ialogflow.cx.v3beta1.QueryParameters.Web"
+ + "hookHeadersEntry\0325\n\023WebhookHeadersEntry\022"
+ + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\364\002\n\nQuer"
+ + "yInput\022=\n\004text\030\002 \001(\0132-.google.cloud.dial"
+ + "ogflow.cx.v3beta1.TextInputH\000\022A\n\006intent\030"
+ + "\003 \001(\0132/.google.cloud.dialogflow.cx.v3bet"
+ + "a1.IntentInputH\000\022?\n\005audio\030\005 \001(\0132..google"
+ + ".cloud.dialogflow.cx.v3beta1.AudioInputH"
+ + "\000\022?\n\005event\030\006 \001(\0132..google.cloud.dialogfl"
+ + "ow.cx.v3beta1.EventInputH\000\022=\n\004dtmf\030\007 \001(\013"
+ + "2-.google.cloud.dialogflow.cx.v3beta1.Dt"
+ + "mfInputH\000\022\032\n\rlanguage_code\030\004 \001(\tB\003\340A\002B\007\n"
+ + "\005input\"\200\006\n\013QueryResult\022\016\n\004text\030\001 \001(\tH\000\022?"
+ + "\n\016trigger_intent\030\013 \001(\tB%\372A\"\n dialogflow."
+ + "googleapis.com/IntentH\000\022\024\n\ntranscript\030\014 "
+ + "\001(\tH\000\022\027\n\rtrigger_event\030\016 \001(\tH\000\022\025\n\rlangua"
+ + "ge_code\030\002 \001(\t\022+\n\nparameters\030\003 \001(\0132\027.goog"
+ + "le.protobuf.Struct\022N\n\021response_messages\030"
+ + "\004 \003(\01323.google.cloud.dialogflow.cx.v3bet"
+ + "a1.ResponseMessage\022,\n\020webhook_statuses\030\r"
+ + " \003(\0132\022.google.rpc.Status\0221\n\020webhook_payl"
+ + "oads\030\006 \003(\0132\027.google.protobuf.Struct\022>\n\014c"
+ + "urrent_page\030\007 \001(\0132(.google.cloud.dialogf"
+ + "low.cx.v3beta1.Page\022>\n\006intent\030\010 \001(\0132*.go"
+ + "ogle.cloud.dialogflow.cx.v3beta1.IntentB"
+ + "\002\030\001\022\'\n\033intent_detection_confidence\030\t \001(\002"
+ + "B\002\030\001\0228\n\005match\030\017 \001(\0132).google.cloud.dialo"
+ + "gflow.cx.v3beta1.Match\0220\n\017diagnostic_inf"
+ + "o\030\n \001(\0132\027.google.protobuf.Struct\022^\n\031sent"
+ + "iment_analysis_result\030\021 \001(\0132;.google.clo"
+ + "ud.dialogflow.cx.v3beta1.SentimentAnalys"
+ + "isResultB\007\n\005query\"\036\n\tTextInput\022\021\n\004text\030\001"
+ + " \001(\tB\003\340A\002\"G\n\013IntentInput\0228\n\006intent\030\001 \001(\t"
+ + "B(\340A\002\372A\"\n dialogflow.googleapis.com/Inte"
+ + "nt\"f\n\nAudioInput\022I\n\006config\030\001 \001(\01324.googl"
+ + "e.cloud.dialogflow.cx.v3beta1.InputAudio"
+ + "ConfigB\003\340A\002\022\r\n\005audio\030\002 \001(\014\"\033\n\nEventInput"
+ + "\022\r\n\005event\030\001 \001(\t\"1\n\tDtmfInput\022\016\n\006digits\030\001"
+ + " \001(\t\022\024\n\014finish_digit\030\002 \001(\t\"\373\002\n\005Match\022:\n\006"
+ + "intent\030\001 \001(\0132*.google.cloud.dialogflow.c"
+ + "x.v3beta1.Intent\022\r\n\005event\030\006 \001(\t\022+\n\nparam"
+ + "eters\030\002 \001(\0132\027.google.protobuf.Struct\022\026\n\016"
+ + "resolved_input\030\003 \001(\t\022G\n\nmatch_type\030\004 \001(\016"
+ + "23.google.cloud.dialogflow.cx.v3beta1.Ma"
+ + "tch.MatchType\022\022\n\nconfidence\030\005 \001(\002\"\204\001\n\tMa"
+ + "tchType\022\032\n\026MATCH_TYPE_UNSPECIFIED\020\000\022\n\n\006I"
+ + "NTENT\020\001\022\021\n\rDIRECT_INTENT\020\002\022\025\n\021PARAMETER_"
+ + "FILLING\020\003\022\014\n\010NO_MATCH\020\004\022\014\n\010NO_INPUT\020\005\022\t\n"
+ + "\005EVENT\020\006\"\345\001\n\022MatchIntentRequest\022:\n\007sessi"
+ + "on\030\001 \001(\tB)\340A\002\372A#\n!dialogflow.googleapis."
+ + "com/Session\022I\n\014query_params\030\002 \001(\01323.goog"
+ + "le.cloud.dialogflow.cx.v3beta1.QueryPara"
+ + "meters\022H\n\013query_input\030\003 \001(\0132..google.clo"
+ + "ud.dialogflow.cx.v3beta1.QueryInputB\003\340A\002"
+ + "\"\232\002\n\023MatchIntentResponse\022\016\n\004text\030\001 \001(\tH\000"
+ + "\022?\n\016trigger_intent\030\002 \001(\tB%\372A\"\n dialogflo"
+ + "w.googleapis.com/IntentH\000\022\024\n\ntranscript\030"
+ + "\003 \001(\tH\000\022\027\n\rtrigger_event\030\006 \001(\tH\000\022:\n\007matc"
+ + "hes\030\004 \003(\0132).google.cloud.dialogflow.cx.v"
+ + "3beta1.Match\022>\n\014current_page\030\005 \001(\0132(.goo"
+ + "gle.cloud.dialogflow.cx.v3beta1.PageB\007\n\005"
+ + "query\"\372\001\n\024FulfillIntentRequest\022T\n\024match_"
+ + "intent_request\030\001 \001(\01326.google.cloud.dial"
+ + "ogflow.cx.v3beta1.MatchIntentRequest\0228\n\005"
+ + "match\030\002 \001(\0132).google.cloud.dialogflow.cx"
+ + ".v3beta1.Match\022R\n\023output_audio_config\030\003 "
+ + "\001(\01325.google.cloud.dialogflow.cx.v3beta1"
+ + ".OutputAudioConfig\"\335\001\n\025FulfillIntentResp"
+ + "onse\022\023\n\013response_id\030\001 \001(\t\022E\n\014query_resul"
+ + "t\030\002 \001(\0132/.google.cloud.dialogflow.cx.v3b"
+ + "eta1.QueryResult\022\024\n\014output_audio\030\003 \001(\014\022R"
+ + "\n\023output_audio_config\030\004 \001(\01325.google.clo"
+ + "ud.dialogflow.cx.v3beta1.OutputAudioConf"
+ + "ig\";\n\027SentimentAnalysisResult\022\r\n\005score\030\001"
+ + " \001(\002\022\021\n\tmagnitude\030\002 \001(\0022\212\n\n\010Sessions\022\272\002\n"
+ + "\014DetectIntent\0227.google.cloud.dialogflow."
+ + "cx.v3beta1.DetectIntentRequest\0328.google."
+ + "cloud.dialogflow.cx.v3beta1.DetectIntent"
+ + "Response\"\266\001\202\323\344\223\002\257\001\"J/v3beta1/{session=pr"
+ + "ojects/*/locations/*/agents/*/sessions/*"
+ + "}:detectIntent:\001*Z^\"Y/v3beta1/{session=p"
+ + "rojects/*/locations/*/agents/*/environme"
+ + "nts/*/sessions/*}:detectIntent:\001*\022\242\001\n\025St"
+ + "reamingDetectIntent\022@.google.cloud.dialo"
+ "gflow.cx.v3beta1.StreamingDetectIntentRe"
- + "sponse\"\000(\0010\001\022\265\002\n\013MatchIntent\0226.google.cl"
- + "oud.dialogflow.cx.v3beta1.MatchIntentReq"
- + "uest\0327.google.cloud.dialogflow.cx.v3beta"
- + "1.MatchIntentResponse\"\264\001\202\323\344\223\002\255\001\"I/v3beta"
- + "1/{session=projects/*/locations/*/agents"
- + "/*/sessions/*}:matchIntent:\001*Z]\"X/v3beta"
- + "1/{session=projects/*/locations/*/agents"
- + "/*/environments/*/sessions/*}:matchInten"
- + "t:\001*\022\351\002\n\rFulfillIntent\0228.google.cloud.di"
- + "alogflow.cx.v3beta1.FulfillIntentRequest"
- + "\0329.google.cloud.dialogflow.cx.v3beta1.Fu"
- + "lfillIntentResponse\"\342\001\202\323\344\223\002\333\001\"`/v3beta1/"
- + "{match_intent_request.session=projects/*"
- + "/locations/*/agents/*/sessions/*}:fulfil"
- + "lIntent:\001*Zt\"o/v3beta1/{match_intent_req"
- + "uest.session=projects/*/locations/*/agen"
- + "ts/*/environments/*/sessions/*}:fulfillI"
- + "ntent:\001*\032x\312A\031dialogflow.googleapis.com\322A"
- + "Yhttps://www.googleapis.com/auth/cloud-p"
- + "latform,https://www.googleapis.com/auth/"
- + "dialogflowB\203\003\n&com.google.cloud.dialogfl"
- + "ow.cx.v3beta1B\014SessionProtoP\001ZDgoogle.go"
- + "lang.org/genproto/googleapis/cloud/dialo"
- + "gflow/cx/v3beta1;cx\370\001\001\242\002\002DF\252\002\"Google.Clo"
- + "ud.Dialogflow.Cx.V3Beta1\352A\324\001\n!dialogflow"
- + ".googleapis.com/Session\022Iprojects/{proje"
- + "ct}/locations/{location}/agents/{agent}/"
- + "sessions/{session}\022dprojects/{project}/l"
- + "ocations/{location}/agents/{agent}/envir"
- + "onments/{environment}/sessions/{session}"
- + "b\006proto3"
+ + "quest\032A.google.cloud.dialogflow.cx.v3bet"
+ + "a1.StreamingDetectIntentResponse\"\000(\0010\001\022\265"
+ + "\002\n\013MatchIntent\0226.google.cloud.dialogflow"
+ + ".cx.v3beta1.MatchIntentRequest\0327.google."
+ + "cloud.dialogflow.cx.v3beta1.MatchIntentR"
+ + "esponse\"\264\001\202\323\344\223\002\255\001\"I/v3beta1/{session=pro"
+ + "jects/*/locations/*/agents/*/sessions/*}"
+ + ":matchIntent:\001*Z]\"X/v3beta1/{session=pro"
+ + "jects/*/locations/*/agents/*/environment"
+ + "s/*/sessions/*}:matchIntent:\001*\022\351\002\n\rFulfi"
+ + "llIntent\0228.google.cloud.dialogflow.cx.v3"
+ + "beta1.FulfillIntentRequest\0329.google.clou"
+ + "d.dialogflow.cx.v3beta1.FulfillIntentRes"
+ + "ponse\"\342\001\202\323\344\223\002\333\001\"`/v3beta1/{match_intent_"
+ + "request.session=projects/*/locations/*/a"
+ + "gents/*/sessions/*}:fulfillIntent:\001*Zt\"o"
+ + "/v3beta1/{match_intent_request.session=p"
+ + "rojects/*/locations/*/agents/*/environme"
+ + "nts/*/sessions/*}:fulfillIntent:\001*\032x\312A\031d"
+ + "ialogflow.googleapis.com\322AYhttps://www.g"
+ + "oogleapis.com/auth/cloud-platform,https:"
+ + "//www.googleapis.com/auth/dialogflowB\203\003\n"
+ + "&com.google.cloud.dialogflow.cx.v3beta1B"
+ + "\014SessionProtoP\001ZDgoogle.golang.org/genpr"
+ + "oto/googleapis/cloud/dialogflow/cx/v3bet"
+ + "a1;cx\370\001\001\242\002\002DF\252\002\"Google.Cloud.Dialogflow."
+ + "Cx.V3Beta1\352A\324\001\n!dialogflow.googleapis.co"
+ + "m/Session\022Iprojects/{project}/locations/"
+ + "{location}/agents/{agent}/sessions/{sess"
+ + "ion}\022dprojects/{project}/locations/{loca"
+ + "tion}/agents/{agent}/environments/{envir"
+ + "onment}/sessions/{session}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -332,7 +337,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_DetectIntentResponse_descriptor,
new java.lang.String[] {
- "ResponseId", "QueryResult", "OutputAudio", "OutputAudioConfig",
+ "ResponseId",
+ "QueryResult",
+ "OutputAudio",
+ "OutputAudioConfig",
+ "ResponseType",
+ "AllowCancellation",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_StreamingDetectIntentRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
@@ -340,7 +350,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_dialogflow_cx_v3beta1_StreamingDetectIntentRequest_descriptor,
new java.lang.String[] {
- "Session", "QueryParams", "QueryInput", "OutputAudioConfig",
+ "Session", "QueryParams", "QueryInput", "OutputAudioConfig", "EnablePartialResponse",
});
internal_static_google_cloud_dialogflow_cx_v3beta1_StreamingDetectIntentResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequest.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequest.java
index d75112211..715452505 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequest.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequest.java
@@ -147,6 +147,11 @@ private StreamingDetectIntentRequest(
outputAudioConfig_ = subBuilder.buildPartial();
}
+ break;
+ }
+ case 40:
+ {
+ enablePartialResponse_ = input.readBool();
break;
}
default:
@@ -411,6 +416,27 @@ public com.google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig getOutputAudioCo
return getOutputAudioConfig();
}
+ public static final int ENABLE_PARTIAL_RESPONSE_FIELD_NUMBER = 5;
+ private boolean enablePartialResponse_;
+ /**
+ *
+ *
+ * + * Enable partial detect intent response. If this flag is not enabled, + * response stream still contains only one final `DetectIntentResponse` even + * if some `Fulfillment`s in the agent have been configured to return partial + * responses. + *+ * + *
bool enable_partial_response = 5;
+ *
+ * @return The enablePartialResponse.
+ */
+ @java.lang.Override
+ public boolean getEnablePartialResponse() {
+ return enablePartialResponse_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -437,6 +463,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (outputAudioConfig_ != null) {
output.writeMessage(4, getOutputAudioConfig());
}
+ if (enablePartialResponse_ != false) {
+ output.writeBool(5, enablePartialResponse_);
+ }
unknownFields.writeTo(output);
}
@@ -458,6 +487,9 @@ public int getSerializedSize() {
if (outputAudioConfig_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getOutputAudioConfig());
}
+ if (enablePartialResponse_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enablePartialResponse_);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -487,6 +519,7 @@ public boolean equals(final java.lang.Object obj) {
if (hasOutputAudioConfig()) {
if (!getOutputAudioConfig().equals(other.getOutputAudioConfig())) return false;
}
+ if (getEnablePartialResponse() != other.getEnablePartialResponse()) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -512,6 +545,8 @@ public int hashCode() {
hash = (37 * hash) + OUTPUT_AUDIO_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getOutputAudioConfig().hashCode();
}
+ hash = (37 * hash) + ENABLE_PARTIAL_RESPONSE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnablePartialResponse());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -701,6 +736,8 @@ public Builder clear() {
outputAudioConfig_ = null;
outputAudioConfigBuilder_ = null;
}
+ enablePartialResponse_ = false;
+
return this;
}
@@ -746,6 +783,7 @@ public com.google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentRequest build
} else {
result.outputAudioConfig_ = outputAudioConfigBuilder_.build();
}
+ result.enablePartialResponse_ = enablePartialResponse_;
onBuilt();
return result;
}
@@ -812,6 +850,9 @@ public Builder mergeFrom(
if (other.hasOutputAudioConfig()) {
mergeOutputAudioConfig(other.getOutputAudioConfig());
}
+ if (other.getEnablePartialResponse() != false) {
+ setEnablePartialResponse(other.getEnablePartialResponse());
+ }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1601,6 +1642,67 @@ public Builder clearOutputAudioConfig() {
return outputAudioConfigBuilder_;
}
+ private boolean enablePartialResponse_;
+ /**
+ *
+ *
+ * + * Enable partial detect intent response. If this flag is not enabled, + * response stream still contains only one final `DetectIntentResponse` even + * if some `Fulfillment`s in the agent have been configured to return partial + * responses. + *+ * + *
bool enable_partial_response = 5;
+ *
+ * @return The enablePartialResponse.
+ */
+ @java.lang.Override
+ public boolean getEnablePartialResponse() {
+ return enablePartialResponse_;
+ }
+ /**
+ *
+ *
+ * + * Enable partial detect intent response. If this flag is not enabled, + * response stream still contains only one final `DetectIntentResponse` even + * if some `Fulfillment`s in the agent have been configured to return partial + * responses. + *+ * + *
bool enable_partial_response = 5;
+ *
+ * @param value The enablePartialResponse to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEnablePartialResponse(boolean value) {
+
+ enablePartialResponse_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Enable partial detect intent response. If this flag is not enabled, + * response stream still contains only one final `DetectIntentResponse` even + * if some `Fulfillment`s in the agent have been configured to return partial + * responses. + *+ * + *
bool enable_partial_response = 5;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEnablePartialResponse() {
+
+ enablePartialResponse_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequestOrBuilder.java
index e9bed50d9..a4aff0f31 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequestOrBuilder.java
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/StreamingDetectIntentRequestOrBuilder.java
@@ -186,4 +186,20 @@ public interface StreamingDetectIntentRequestOrBuilder
* .google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig output_audio_config = 4;
*/
com.google.cloud.dialogflow.cx.v3beta1.OutputAudioConfigOrBuilder getOutputAudioConfigOrBuilder();
+
+ /**
+ *
+ *
+ * + * Enable partial detect intent response. If this flag is not enabled, + * response stream still contains only one final `DetectIntentResponse` even + * if some `Fulfillment`s in the agent have been configured to return partial + * responses. + *+ * + *
bool enable_partial_response = 5;
+ *
+ * @return The enablePartialResponse.
+ */
+ boolean getEnablePartialResponse();
}
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto
index 1824e0b25..64bc6293a 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/agent.proto
@@ -159,12 +159,15 @@ message Agent {
// Required. The human-readable name of the agent, unique within the location.
string display_name = 2 [(google.api.field_behavior) = REQUIRED];
- // Immutable. The default language of the agent as a language tag.
+ // Required. Immutable. The default language of the agent as a language tag.
// See [Language
// Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
// for a list of the currently supported language codes.
// This field cannot be set by the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent] method.
- string default_language_code = 3 [(google.api.field_behavior) = IMMUTABLE];
+ string default_language_code = 3 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.field_behavior) = IMMUTABLE
+ ];
// The list of all languages supported by the agent (except for the
// `default_language_code`).
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/fulfillment.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/fulfillment.proto
index 74d9e8224..e81e8d5a6 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/fulfillment.proto
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/fulfillment.proto
@@ -95,6 +95,17 @@ message Fulfillment {
type: "dialogflow.googleapis.com/Webhook"
}];
+ // Whether Dialogflow should return currently queued fulfillment response
+ // messages in streaming APIs. If a webhook is specified, it happens before
+ // Dialogflow invokes webhook.
+ // Warning:
+ // 1) This flag only affects streaming API. Responses are still queued
+ // and returned once in non-streaming API.
+ // 2) The flag can be enabled in any fulfillment but only the first 3 partial
+ // responses will be returned. You may only want to apply it to fulfillments
+ // that have slow webhooks.
+ bool return_partial_responses = 8;
+
// The tag used by the webhook to identify which fulfillment is being called.
// This field is required if `webhook` is specified.
string tag = 3;
diff --git a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/security_settings.proto b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/security_settings.proto
index d05ae1fab..8b149f13a 100644
--- a/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/security_settings.proto
+++ b/proto-google-cloud-dialogflow-cx-v3beta1/src/main/proto/google/cloud/dialogflow/cx/v3beta1/security_settings.proto
@@ -226,8 +226,10 @@ message SecuritySettings {
// If empty, we use the default DLP inspect config.
//
// The template name will have one of the following formats:
- // `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR
- // `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`
+ // `projects/Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -420,6 +423,9 @@ public final Agent createAgent(LocationName parent, Agent agent) { /** * Creates an agent in the specified location. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -445,6 +451,9 @@ public final Agent createAgent(String parent, Agent agent) { /** * Creates an agent in the specified location. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -469,6 +478,9 @@ public final Agent createAgent(CreateAgentRequest request) { /** * Creates an agent in the specified location. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -492,6 +504,9 @@ public final UnaryCallablecreateAgentCallable() { /** * Updates the specified agent. * + * Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -517,6 +532,9 @@ public final Agent updateAgent(Agent agent, FieldMask updateMask) { /** * Updates the specified agent. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -541,6 +559,9 @@ public final Agent updateAgent(UpdateAgentRequest request) { /** * Updates the specified agent. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -739,6 +760,9 @@ public final UnaryCallableexportAgentCallable() * Replaces the current agent with a new one. Note that all existing resources in agent (e.g. * intents, entity types, flows) will be removed. * + *
Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -765,6 +789,9 @@ public final OperationFuturerestoreAgentAsync(RestoreAgentReques * Replaces the current agent with a new one. Note that all existing resources in agent (e.g. * intents, entity types, flows) will be removed. * + *
Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -792,6 +819,9 @@ public final OperationFuturerestoreAgentAsync(RestoreAgentReques * Replaces the current agent with a new one. Note that all existing resources in agent (e.g. * intents, entity types, flows) will be removed. * + *
Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesClient.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesClient.java index c5d9443e8..1573c9304 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesClient.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/EntityTypesClient.java @@ -514,6 +514,9 @@ public final UnaryCallablecreateEntityType /** * Updates the specified entity type. * + * Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -541,6 +544,9 @@ public final EntityType updateEntityType(EntityType entityType, FieldMask update /** * Updates the specified entity type. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -566,6 +572,9 @@ public final EntityType updateEntityType(UpdateEntityTypeRequest request) { /** * Updates the specified entity type. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -591,6 +600,9 @@ public final UnaryCallableupdateEntityType /** * Deletes the specified entity type. * + * Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -616,6 +628,9 @@ public final void deleteEntityType(EntityTypeName name) { /** * Deletes the specified entity type. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -640,6 +655,9 @@ public final void deleteEntityType(String name) { /** * Deletes the specified entity type. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -666,6 +684,9 @@ public final void deleteEntityType(DeleteEntityTypeRequest request) { /** * Deletes the specified entity type. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code diff --git a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java index 4f408a91e..2e69daa78 100644 --- a/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java +++ b/google-cloud-dialogflow-cx/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/FlowsClient.java @@ -168,6 +168,9 @@ public final OperationsClient getOperationsClient() { /** * Creates a flow in the specified agent. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -196,6 +199,9 @@ public final Flow createFlow(AgentName parent, Flow flow) { /** * Creates a flow in the specified agent. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -221,6 +227,9 @@ public final Flow createFlow(String parent, Flow flow) { /** * Creates a flow in the specified agent. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -246,6 +255,9 @@ public final Flow createFlow(CreateFlowRequest request) { /** * Creates a flow in the specified agent. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -592,6 +604,9 @@ public final UnaryCallablegetFlowCallable() { /** * Updates the specified flow. * + * Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -617,6 +632,9 @@ public final Flow updateFlow(Flow flow, FieldMask updateMask) { /** * Updates the specified flow. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -642,6 +660,9 @@ public final Flow updateFlow(UpdateFlowRequest request) { /** * Updates the specified flow. * + *Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -666,6 +687,9 @@ public final UnaryCallableupdateFlowCallable() { /** * Trains the specified flow. Note that only the flow in 'draft' environment is trained. * + * Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -689,6 +713,9 @@ public final OperationFuturetrainFlowAsync(FlowName name) { /** * Trains the specified flow. Note that only the flow in 'draft' environment is trained. * + * Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -711,6 +738,9 @@ public final OperationFuturetrainFlowAsync(String name) { /** * Trains the specified flow. Note that only the flow in 'draft' environment is trained. * + * Note: You should always train a flow prior to sending it queries. See the [training + * documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). + * *
Sample code: * *
{@code @@ -734,6 +764,9 @@ public final OperationFuturetrainFlowAsync(TrainFlowRequest requ /** * Trains the specified flow. Note that only the flow in 'draft' environment is trained. * + *