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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ConversationDataSource
build()
ConversationDataSource
buildPartial()
ConversationDataSource.Builder
clear()
ConversationDataSource.Builder
clearDialogflowSource()
The source when the conversation comes from Dialogflow.ConversationDataSource.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ConversationDataSource.Builder
clearGcsSource()
A Cloud Storage location specification for the audio and transcript.ConversationDataSource.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ConversationDataSource.Builder
clearSource()
ConversationDataSource.Builder
clone()
ConversationDataSource
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
DialogflowSource
getDialogflowSource()
The source when the conversation comes from Dialogflow.DialogflowSource.Builder
getDialogflowSourceBuilder()
The source when the conversation comes from Dialogflow.DialogflowSourceOrBuilder
getDialogflowSourceOrBuilder()
The source when the conversation comes from Dialogflow.GcsSource
getGcsSource()
A Cloud Storage location specification for the audio and transcript.GcsSource.Builder
getGcsSourceBuilder()
A Cloud Storage location specification for the audio and transcript.GcsSourceOrBuilder
getGcsSourceOrBuilder()
A Cloud Storage location specification for the audio and transcript.ConversationDataSource.SourceCase
getSourceCase()
boolean
hasDialogflowSource()
The source when the conversation comes from Dialogflow.boolean
hasGcsSource()
A Cloud Storage location specification for the audio and transcript.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ConversationDataSource.Builder
mergeDialogflowSource(DialogflowSource value)
The source when the conversation comes from Dialogflow.ConversationDataSource.Builder
mergeFrom(ConversationDataSource other)
ConversationDataSource.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ConversationDataSource.Builder
mergeFrom(com.google.protobuf.Message other)
ConversationDataSource.Builder
mergeGcsSource(GcsSource value)
A Cloud Storage location specification for the audio and transcript.ConversationDataSource.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ConversationDataSource.Builder
setDialogflowSource(DialogflowSource value)
The source when the conversation comes from Dialogflow.ConversationDataSource.Builder
setDialogflowSource(DialogflowSource.Builder builderForValue)
The source when the conversation comes from Dialogflow.ConversationDataSource.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ConversationDataSource.Builder
setGcsSource(GcsSource value)
A Cloud Storage location specification for the audio and transcript.ConversationDataSource.Builder
setGcsSource(GcsSource.Builder builderForValue)
A Cloud Storage location specification for the audio and transcript.ConversationDataSource.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ConversationDataSource.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
clear
public ConversationDataSource.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
getDefaultInstanceForType
public ConversationDataSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConversationDataSource build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConversationDataSource buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConversationDataSource.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
setField
public ConversationDataSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
clearField
public ConversationDataSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
clearOneof
public ConversationDataSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
setRepeatedField
public ConversationDataSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
addRepeatedField
public ConversationDataSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
mergeFrom
public ConversationDataSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConversationDataSource.Builder>
-
mergeFrom
public ConversationDataSource.Builder mergeFrom(ConversationDataSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConversationDataSource.Builder>
- Throws:
IOException
-
getSourceCase
public ConversationDataSource.SourceCase getSourceCase()
- Specified by:
getSourceCase
in 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:
hasGcsSource
in 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:
getGcsSource
in 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:
getGcsSourceOrBuilder
in interfaceConversationDataSourceOrBuilder
-
hasDialogflowSource
public boolean hasDialogflowSource()
The source when the conversation comes from Dialogflow.
.google.cloud.contactcenterinsights.v1.DialogflowSource dialogflow_source = 3;
- Specified by:
hasDialogflowSource
in 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:
getDialogflowSource
in 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:
getDialogflowSourceOrBuilder
in interfaceConversationDataSourceOrBuilder
-
setUnknownFields
public final ConversationDataSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
mergeUnknownFields
public final ConversationDataSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversationDataSource.Builder>
-
-