Class DataStoreConnectionSignals.CitedSnippet.Builder (0.64.0)

public static final class DataStoreConnectionSignals.CitedSnippet.Builder extends GeneratedMessageV3.Builder<DataStoreConnectionSignals.CitedSnippet.Builder> implements DataStoreConnectionSignals.CitedSnippetOrBuilder

Snippet cited by the answer generation model.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSearchSnippet()

public DataStoreConnectionSignals.CitedSnippet.Builder clearSearchSnippet()

Details of the snippet.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;

Returns
Type Description
DataStoreConnectionSignals.CitedSnippet.Builder

clearSnippetIndex()

public DataStoreConnectionSignals.CitedSnippet.Builder clearSnippetIndex()

Index of the snippet in search_snippets field.

int32 snippet_index = 2;

Returns
Type Description
DataStoreConnectionSignals.CitedSnippet.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getSearchSnippet()

public DataStoreConnectionSignals.SearchSnippet getSearchSnippet()

Details of the snippet.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;

Returns
Type Description
DataStoreConnectionSignals.SearchSnippet

The searchSnippet.

getSearchSnippetBuilder()

public DataStoreConnectionSignals.SearchSnippet.Builder getSearchSnippetBuilder()

Details of the snippet.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;

Returns
Type Description
DataStoreConnectionSignals.SearchSnippet.Builder

getSearchSnippetOrBuilder()

public DataStoreConnectionSignals.SearchSnippetOrBuilder getSearchSnippetOrBuilder()

Details of the snippet.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;

Returns
Type Description
DataStoreConnectionSignals.SearchSnippetOrBuilder

getSnippetIndex()

public int getSnippetIndex()

Index of the snippet in search_snippets field.

int32 snippet_index = 2;

Returns
Type Description
int

The snippetIndex.

hasSearchSnippet()

public boolean hasSearchSnippet()

Details of the snippet.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;

Returns
Type Description
boolean

Whether the searchSnippet field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataStoreConnectionSignals.CitedSnippet other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSearchSnippet(DataStoreConnectionSignals.SearchSnippet value)

public DataStoreConnectionSignals.CitedSnippet.Builder mergeSearchSnippet(DataStoreConnectionSignals.SearchSnippet value)

Details of the snippet.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;

Parameter
Name Description
value DataStoreConnectionSignals.SearchSnippet
Returns
Type Description
DataStoreConnectionSignals.CitedSnippet.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSearchSnippet(DataStoreConnectionSignals.SearchSnippet value)

public DataStoreConnectionSignals.CitedSnippet.Builder setSearchSnippet(DataStoreConnectionSignals.SearchSnippet value)

Details of the snippet.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;

Parameter
Name Description
value DataStoreConnectionSignals.SearchSnippet
Returns
Type Description
DataStoreConnectionSignals.CitedSnippet.Builder

setSearchSnippet(DataStoreConnectionSignals.SearchSnippet.Builder builderForValue)

public DataStoreConnectionSignals.CitedSnippet.Builder setSearchSnippet(DataStoreConnectionSignals.SearchSnippet.Builder builderForValue)

Details of the snippet.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SearchSnippet search_snippet = 1;

Parameter
Name Description
builderForValue DataStoreConnectionSignals.SearchSnippet.Builder
Returns
Type Description
DataStoreConnectionSignals.CitedSnippet.Builder

setSnippetIndex(int value)

public DataStoreConnectionSignals.CitedSnippet.Builder setSnippetIndex(int value)

Index of the snippet in search_snippets field.

int32 snippet_index = 2;

Parameter
Name Description
value int

The snippetIndex to set.

Returns
Type Description
DataStoreConnectionSignals.CitedSnippet.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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