All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary Maven / Gradle / Ivy

There is a newer version: v1-rev20240701-2.0.0
Show newest version
/*
 * 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
 *
 * http://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.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.contactcenterinsights.v1.model;

/**
 * A point in a conversation that marks the start or the end of an annotation.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Contact Center AI Insights API. For a detailed * explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary extends com.google.api.client.json.GenericJson { /** * The index in the sequence of transcribed pieces of the conversation where the boundary is * located. This index starts at zero. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer transcriptIndex; /** * The word index of this boundary with respect to the first word in the transcript piece. This * index starts at zero. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Integer wordIndex; /** * The index in the sequence of transcribed pieces of the conversation where the boundary is * located. This index starts at zero. * @return value or {@code null} for none */ public java.lang.Integer getTranscriptIndex() { return transcriptIndex; } /** * The index in the sequence of transcribed pieces of the conversation where the boundary is * located. This index starts at zero. * @param transcriptIndex transcriptIndex or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary setTranscriptIndex(java.lang.Integer transcriptIndex) { this.transcriptIndex = transcriptIndex; return this; } /** * The word index of this boundary with respect to the first word in the transcript piece. This * index starts at zero. * @return value or {@code null} for none */ public java.lang.Integer getWordIndex() { return wordIndex; } /** * The word index of this boundary with respect to the first word in the transcript piece. This * index starts at zero. * @param wordIndex wordIndex or {@code null} for none */ public GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary setWordIndex(java.lang.Integer wordIndex) { this.wordIndex = wordIndex; return this; } @Override public GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary set(String fieldName, Object value) { return (GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary) super.set(fieldName, value); } @Override public GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary clone() { return (GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy