Class DataStoreConnectionSignals.SearchSnippet.Builder (0.65.0)

public static final class DataStoreConnectionSignals.SearchSnippet.Builder extends GeneratedMessageV3.Builder<DataStoreConnectionSignals.SearchSnippet.Builder> implements DataStoreConnectionSignals.SearchSnippetOrBuilder

Search snippet details.

Protobuf type google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SearchSnippet

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataStoreConnectionSignals.SearchSnippet build()
Returns
Type Description
DataStoreConnectionSignals.SearchSnippet

buildPartial()

public DataStoreConnectionSignals.SearchSnippet buildPartial()
Returns
Type Description
DataStoreConnectionSignals.SearchSnippet

clear()

public DataStoreConnectionSignals.SearchSnippet.Builder clear()
Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder
Overrides

clearDocumentTitle()

public DataStoreConnectionSignals.SearchSnippet.Builder clearDocumentTitle()

Title of the enclosing document.

string document_title = 1;

Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder

This builder for chaining.

clearDocumentUri()

public DataStoreConnectionSignals.SearchSnippet.Builder clearDocumentUri()

Uri for the document. Present if specified for the document.

string document_uri = 2;

Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearText()

public DataStoreConnectionSignals.SearchSnippet.Builder clearText()

Text included in the prompt.

string text = 3;

Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder

This builder for chaining.

clone()

public DataStoreConnectionSignals.SearchSnippet.Builder clone()
Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder
Overrides

getDefaultInstanceForType()

public DataStoreConnectionSignals.SearchSnippet getDefaultInstanceForType()
Returns
Type Description
DataStoreConnectionSignals.SearchSnippet

getDescriptorForType()

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

getDocumentTitle()

public String getDocumentTitle()

Title of the enclosing document.

string document_title = 1;

Returns
Type Description
String

The documentTitle.

getDocumentTitleBytes()

public ByteString getDocumentTitleBytes()

Title of the enclosing document.

string document_title = 1;

Returns
Type Description
ByteString

The bytes for documentTitle.

getDocumentUri()

public String getDocumentUri()

Uri for the document. Present if specified for the document.

string document_uri = 2;

Returns
Type Description
String

The documentUri.

getDocumentUriBytes()

public ByteString getDocumentUriBytes()

Uri for the document. Present if specified for the document.

string document_uri = 2;

Returns
Type Description
ByteString

The bytes for documentUri.

getText()

public String getText()

Text included in the prompt.

string text = 3;

Returns
Type Description
String

The text.

getTextBytes()

public ByteString getTextBytes()

Text included in the prompt.

string text = 3;

Returns
Type Description
ByteString

The bytes for text.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataStoreConnectionSignals.SearchSnippet other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDocumentTitle(String value)

public DataStoreConnectionSignals.SearchSnippet.Builder setDocumentTitle(String value)

Title of the enclosing document.

string document_title = 1;

Parameter
Name Description
value String

The documentTitle to set.

Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder

This builder for chaining.

setDocumentTitleBytes(ByteString value)

public DataStoreConnectionSignals.SearchSnippet.Builder setDocumentTitleBytes(ByteString value)

Title of the enclosing document.

string document_title = 1;

Parameter
Name Description
value ByteString

The bytes for documentTitle to set.

Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder

This builder for chaining.

setDocumentUri(String value)

public DataStoreConnectionSignals.SearchSnippet.Builder setDocumentUri(String value)

Uri for the document. Present if specified for the document.

string document_uri = 2;

Parameter
Name Description
value String

The documentUri to set.

Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder

This builder for chaining.

setDocumentUriBytes(ByteString value)

public DataStoreConnectionSignals.SearchSnippet.Builder setDocumentUriBytes(ByteString value)

Uri for the document. Present if specified for the document.

string document_uri = 2;

Parameter
Name Description
value ByteString

The bytes for documentUri to set.

Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setText(String value)

public DataStoreConnectionSignals.SearchSnippet.Builder setText(String value)

Text included in the prompt.

string text = 3;

Parameter
Name Description
value String

The text to set.

Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder

This builder for chaining.

setTextBytes(ByteString value)

public DataStoreConnectionSignals.SearchSnippet.Builder setTextBytes(ByteString value)

Text included in the prompt.

string text = 3;

Parameter
Name Description
value ByteString

The bytes for text to set.

Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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