Class DialogflowSource.Builder (2.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DialogflowSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DialogflowSource.Builder
Overrides

build()

public DialogflowSource build()
Returns
TypeDescription
DialogflowSource

buildPartial()

public DialogflowSource buildPartial()
Returns
TypeDescription
DialogflowSource

clear()

public DialogflowSource.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DialogflowSource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DialogflowSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DialogflowSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DialogflowSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DialogflowSource.Builder
Overrides

clone()

public DialogflowSource.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for audioUri.

getDefaultInstanceForType()

public DialogflowSource getDefaultInstanceForType()
Returns
TypeDescription
DialogflowSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dialogflowConversation.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DialogflowSource other)

public DialogflowSource.Builder mergeFrom(DialogflowSource other)
Parameter
NameDescription
otherDialogflowSource
Returns
TypeDescription
DialogflowSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DialogflowSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DialogflowSource.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DialogflowSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DialogflowSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DialogflowSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The audioUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for audioUri to set.

Returns
TypeDescription
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
NameDescription
valueString

The dialogflowConversation to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dialogflowConversation to set.

Returns
TypeDescription
DialogflowSource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DialogflowSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DialogflowSource.Builder
Overrides

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

public DialogflowSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DialogflowSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DialogflowSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DialogflowSource.Builder
Overrides