public static final class DataStoreConnectionSignals.SearchSnippet.Builder extends GeneratedMessage.Builder<DataStoreConnectionSignals.SearchSnippet.Builder> implements DataStoreConnectionSignals.SearchSnippetOrBuilderSearch snippet details.
Protobuf type google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataStoreConnectionSignals.SearchSnippet.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
clearMetadata()
public DataStoreConnectionSignals.SearchSnippet.Builder clearMetadata()Metadata associated with the document.
.google.protobuf.Struct metadata = 5;
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SearchSnippet.Builder |
|
clearText()
public DataStoreConnectionSignals.SearchSnippet.Builder clearText()Text included in the prompt.
string text = 3;
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SearchSnippet.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DataStoreConnectionSignals.SearchSnippet getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SearchSnippet |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getMetadata()
public Struct getMetadata()Metadata associated with the document.
.google.protobuf.Struct metadata = 5;
| Returns | |
|---|---|
| Type | Description |
Struct |
The metadata. |
getMetadataBuilder()
public Struct.Builder getMetadataBuilder()Metadata associated with the document.
.google.protobuf.Struct metadata = 5;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getMetadataOrBuilder()
public StructOrBuilder getMetadataOrBuilder()Metadata associated with the document.
.google.protobuf.Struct metadata = 5;
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
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. |
hasMetadata()
public boolean hasMetadata()Metadata associated with the document.
.google.protobuf.Struct metadata = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
mergeMetadata(Struct value)
public DataStoreConnectionSignals.SearchSnippet.Builder mergeMetadata(Struct value)Metadata associated with the document.
.google.protobuf.Struct metadata = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SearchSnippet.Builder |
|
setDocumentTitle(String value)
public DataStoreConnectionSignals.SearchSnippet.Builder setDocumentTitle(String value)Title of the enclosing document.
string document_title = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for documentUri to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SearchSnippet.Builder |
This builder for chaining. |
setMetadata(Struct value)
public DataStoreConnectionSignals.SearchSnippet.Builder setMetadata(Struct value)Metadata associated with the document.
.google.protobuf.Struct metadata = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SearchSnippet.Builder |
|
setMetadata(Struct.Builder builderForValue)
public DataStoreConnectionSignals.SearchSnippet.Builder setMetadata(Struct.Builder builderForValue)Metadata associated with the document.
.google.protobuf.Struct metadata = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SearchSnippet.Builder |
|
setText(String value)
public DataStoreConnectionSignals.SearchSnippet.Builder setText(String value)Text included in the prompt.
string text = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for text to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SearchSnippet.Builder |
This builder for chaining. |