Class DialogflowSource.Builder (2.48.0)

public static final class DialogflowSource.Builder extends GeneratedMessageV3.Builder<DialogflowSource.Builder> implements DialogflowSourceOrBuilder

A Dialogflow source of conversation data.

Protobuf type google.cloud.contactcenterinsights.v1.DialogflowSource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DialogflowSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DialogflowSource.Builder
Overrides

build()

public DialogflowSource build()
Returns
Type Description
DialogflowSource

buildPartial()

public DialogflowSource buildPartial()
Returns
Type Description
DialogflowSource

clear()

public DialogflowSource.Builder clear()
Returns
Type Description
DialogflowSource.Builder
Overrides

clearAudioUri()

public DialogflowSource.Builder clearAudioUri()

Cloud Storage URI that points to a file that contains the conversation audio.

string audio_uri = 3;

Returns
Type Description
DialogflowSource.Builder

This builder for chaining.

clearDialogflowConversation()

public DialogflowSource.Builder clearDialogflowConversation()

Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation}

string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DialogflowSource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DialogflowSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DialogflowSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DialogflowSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DialogflowSource.Builder
Overrides

clone()

public DialogflowSource.Builder clone()
Returns
Type Description
DialogflowSource.Builder
Overrides

getAudioUri()

public String getAudioUri()

Cloud Storage URI that points to a file that contains the conversation audio.

string audio_uri = 3;

Returns
Type Description
String

The audioUri.

getAudioUriBytes()

public ByteString getAudioUriBytes()

Cloud Storage URI that points to a file that contains the conversation audio.

string audio_uri = 3;

Returns
Type Description
ByteString

The bytes for audioUri.

getDefaultInstanceForType()

public DialogflowSource getDefaultInstanceForType()
Returns
Type Description
DialogflowSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDialogflowConversation()

public String getDialogflowConversation()

Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation}

string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The dialogflowConversation.

getDialogflowConversationBytes()

public ByteString getDialogflowConversationBytes()

Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation}

string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for dialogflowConversation.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DialogflowSource other)

public DialogflowSource.Builder mergeFrom(DialogflowSource other)
Parameter
Name Description
other DialogflowSource
Returns
Type Description
DialogflowSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DialogflowSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DialogflowSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DialogflowSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DialogflowSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DialogflowSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DialogflowSource.Builder
Overrides

setAudioUri(String value)

public DialogflowSource.Builder setAudioUri(String value)

Cloud Storage URI that points to a file that contains the conversation audio.

string audio_uri = 3;

Parameter
Name Description
value String

The audioUri to set.

Returns
Type Description
DialogflowSource.Builder

This builder for chaining.

setAudioUriBytes(ByteString value)

public DialogflowSource.Builder setAudioUriBytes(ByteString value)

Cloud Storage URI that points to a file that contains the conversation audio.

string audio_uri = 3;

Parameter
Name Description
value ByteString

The bytes for audioUri to set.

Returns
Type Description
DialogflowSource.Builder

This builder for chaining.

setDialogflowConversation(String value)

public DialogflowSource.Builder setDialogflowConversation(String value)

Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation}

string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The dialogflowConversation to set.

Returns
Type Description
DialogflowSource.Builder

This builder for chaining.

setDialogflowConversationBytes(ByteString value)

public DialogflowSource.Builder setDialogflowConversationBytes(ByteString value)

Output only. The name of the Dialogflow conversation that this conversation resource is derived from. Format: projects/{project}/locations/{location}/conversations/{conversation}

string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for dialogflowConversation to set.

Returns
Type Description
DialogflowSource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DialogflowSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DialogflowSource.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DialogflowSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DialogflowSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DialogflowSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DialogflowSource.Builder
Overrides