Class ConversationDataSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
- com.google.cloud.contactcenterinsights.v1.ConversationDataSource.Builder
-
- All Implemented Interfaces:
ConversationDataSourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConversationDataSource
public static final class ConversationDataSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder> implements ConversationDataSourceOrBuilder
The conversation source, which is a combination of transcript and audio.
Protobuf typegoogle.cloud.contactcenterinsights.v1.ConversationDataSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationDataSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConversationDataSourcebuild()ConversationDataSourcebuildPartial()ConversationDataSource.Builderclear()ConversationDataSource.BuilderclearDialogflowSource()The source when the conversation comes from Dialogflow.ConversationDataSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ConversationDataSource.BuilderclearGcsSource()A Cloud Storage location specification for the audio and transcript.ConversationDataSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ConversationDataSource.BuilderclearSource()ConversationDataSource.Builderclone()ConversationDataSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DialogflowSourcegetDialogflowSource()The source when the conversation comes from Dialogflow.DialogflowSource.BuildergetDialogflowSourceBuilder()The source when the conversation comes from Dialogflow.DialogflowSourceOrBuildergetDialogflowSourceOrBuilder()The source when the conversation comes from Dialogflow.GcsSourcegetGcsSource()A Cloud Storage location specification for the audio and transcript.GcsSource.BuildergetGcsSourceBuilder()A Cloud Storage location specification for the audio and transcript.GcsSourceOrBuildergetGcsSourceOrBuilder()A Cloud Storage location specification for the audio and transcript.ConversationDataSource.SourceCasegetSourceCase()booleanhasDialogflowSource()The source when the conversation comes from Dialogflow.booleanhasGcsSource()A Cloud Storage location specification for the audio and transcript.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ConversationDataSource.BuildermergeDialogflowSource(DialogflowSource value)The source when the conversation comes from Dialogflow.ConversationDataSource.BuildermergeFrom(ConversationDataSource other)ConversationDataSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ConversationDataSource.BuildermergeFrom(com.google.protobuf.Message other)ConversationDataSource.BuildermergeGcsSource(GcsSource value)A Cloud Storage location specification for the audio and transcript.ConversationDataSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConversationDataSource.BuildersetDialogflowSource(DialogflowSource value)The source when the conversation comes from Dialogflow.ConversationDataSource.BuildersetDialogflowSource(DialogflowSource.Builder builderForValue)The source when the conversation comes from Dialogflow.ConversationDataSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConversationDataSource.BuildersetGcsSource(GcsSource value)A Cloud Storage location specification for the audio and transcript.ConversationDataSource.BuildersetGcsSource(GcsSource.Builder builderForValue)A Cloud Storage location specification for the audio and transcript.ConversationDataSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ConversationDataSource.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
clear
public ConversationDataSource.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
getDefaultInstanceForType
public ConversationDataSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConversationDataSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConversationDataSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConversationDataSource.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
setField
public ConversationDataSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
clearField
public ConversationDataSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
clearOneof
public ConversationDataSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
setRepeatedField
public ConversationDataSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
addRepeatedField
public ConversationDataSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
mergeFrom
public ConversationDataSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversationDataSource.Builder>
-
mergeFrom
public ConversationDataSource.Builder mergeFrom(ConversationDataSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
mergeFrom
public ConversationDataSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversationDataSource.Builder>- Throws:
IOException
-
getSourceCase
public ConversationDataSource.SourceCase getSourceCase()
- Specified by:
getSourceCasein interfaceConversationDataSourceOrBuilder
-
clearSource
public ConversationDataSource.Builder clearSource()
-
hasGcsSource
public boolean hasGcsSource()
A Cloud Storage location specification for the audio and transcript.
.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;- Specified by:
hasGcsSourcein interfaceConversationDataSourceOrBuilder- Returns:
- Whether the gcsSource field is set.
-
getGcsSource
public GcsSource getGcsSource()
A Cloud Storage location specification for the audio and transcript.
.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;- Specified by:
getGcsSourcein interfaceConversationDataSourceOrBuilder- Returns:
- The gcsSource.
-
setGcsSource
public ConversationDataSource.Builder setGcsSource(GcsSource value)
A Cloud Storage location specification for the audio and transcript.
.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;
-
setGcsSource
public ConversationDataSource.Builder setGcsSource(GcsSource.Builder builderForValue)
A Cloud Storage location specification for the audio and transcript.
.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;
-
mergeGcsSource
public ConversationDataSource.Builder mergeGcsSource(GcsSource value)
A Cloud Storage location specification for the audio and transcript.
.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;
-
clearGcsSource
public ConversationDataSource.Builder clearGcsSource()
A Cloud Storage location specification for the audio and transcript.
.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;
-
getGcsSourceBuilder
public GcsSource.Builder getGcsSourceBuilder()
A Cloud Storage location specification for the audio and transcript.
.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;
-
getGcsSourceOrBuilder
public GcsSourceOrBuilder getGcsSourceOrBuilder()
A Cloud Storage location specification for the audio and transcript.
.google.cloud.contactcenterinsights.v1.GcsSource gcs_source = 1;- Specified by:
getGcsSourceOrBuilderin interfaceConversationDataSourceOrBuilder
-
hasDialogflowSource
public boolean hasDialogflowSource()
The source when the conversation comes from Dialogflow.
.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;- Specified by:
hasDialogflowSourcein interfaceConversationDataSourceOrBuilder- Returns:
- Whether the dialogflowSource field is set.
-
getDialogflowSource
public DialogflowSource getDialogflowSource()
The source when the conversation comes from Dialogflow.
.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;- Specified by:
getDialogflowSourcein interfaceConversationDataSourceOrBuilder- Returns:
- The dialogflowSource.
-
setDialogflowSource
public ConversationDataSource.Builder setDialogflowSource(DialogflowSource value)
The source when the conversation comes from Dialogflow.
.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
-
setDialogflowSource
public ConversationDataSource.Builder setDialogflowSource(DialogflowSource.Builder builderForValue)
The source when the conversation comes from Dialogflow.
.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
-
mergeDialogflowSource
public ConversationDataSource.Builder mergeDialogflowSource(DialogflowSource value)
The source when the conversation comes from Dialogflow.
.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
-
clearDialogflowSource
public ConversationDataSource.Builder clearDialogflowSource()
The source when the conversation comes from Dialogflow.
.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
-
getDialogflowSourceBuilder
public DialogflowSource.Builder getDialogflowSourceBuilder()
The source when the conversation comes from Dialogflow.
.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
-
getDialogflowSourceOrBuilder
public DialogflowSourceOrBuilder getDialogflowSourceOrBuilder()
The source when the conversation comes from Dialogflow.
.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;- Specified by:
getDialogflowSourceOrBuilderin interfaceConversationDataSourceOrBuilder
-
setUnknownFields
public final ConversationDataSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
mergeUnknownFields
public final ConversationDataSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
-