com.google.api.services.contactcenterinsights.v1.model.GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo Maven / Gradle / Ivy
/*
* 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;
/**
* Word-level info for words in a transcript.
*
* 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 GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo extends com.google.api.client.json.GenericJson {
/**
* A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0
* indicates that the value is unset.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Float confidence;
/**
* Time offset of the end of this word relative to the beginning of the total conversation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String endOffset;
/**
* Time offset of the start of this word relative to the beginning of the total conversation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String startOffset;
/**
* The word itself. Includes punctuation marks that surround the word.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String word;
/**
* A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0
* indicates that the value is unset.
* @return value or {@code null} for none
*/
public java.lang.Float getConfidence() {
return confidence;
}
/**
* A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0
* indicates that the value is unset.
* @param confidence confidence or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo setConfidence(java.lang.Float confidence) {
this.confidence = confidence;
return this;
}
/**
* Time offset of the end of this word relative to the beginning of the total conversation.
* @return value or {@code null} for none
*/
public String getEndOffset() {
return endOffset;
}
/**
* Time offset of the end of this word relative to the beginning of the total conversation.
* @param endOffset endOffset or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo setEndOffset(String endOffset) {
this.endOffset = endOffset;
return this;
}
/**
* Time offset of the start of this word relative to the beginning of the total conversation.
* @return value or {@code null} for none
*/
public String getStartOffset() {
return startOffset;
}
/**
* Time offset of the start of this word relative to the beginning of the total conversation.
* @param startOffset startOffset or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo setStartOffset(String startOffset) {
this.startOffset = startOffset;
return this;
}
/**
* The word itself. Includes punctuation marks that surround the word.
* @return value or {@code null} for none
*/
public java.lang.String getWord() {
return word;
}
/**
* The word itself. Includes punctuation marks that surround the word.
* @param word word or {@code null} for none
*/
public GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo setWord(java.lang.String word) {
this.word = word;
return this;
}
@Override
public GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo set(String fieldName, Object value) {
return (GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo) super.set(fieldName, value);
}
@Override
public GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo clone() {
return (GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy