- 4.59.0 (latest)
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class SearchKnowledgeAnswer.AnswerSource.Builder extends GeneratedMessageV3.Builder<SearchKnowledgeAnswer.AnswerSource.Builder> implements SearchKnowledgeAnswer.AnswerSourceOrBuilder
The sources of the answers.
Protobuf type google.cloud.dialogflow.v2beta1.SearchKnowledgeAnswer.AnswerSource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SearchKnowledgeAnswer.AnswerSource.BuilderImplements
SearchKnowledgeAnswer.AnswerSourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchKnowledgeAnswer.AnswerSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
build()
public SearchKnowledgeAnswer.AnswerSource build()
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource |
buildPartial()
public SearchKnowledgeAnswer.AnswerSource buildPartial()
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource |
clear()
public SearchKnowledgeAnswer.AnswerSource.Builder clear()
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
clearField(Descriptors.FieldDescriptor field)
public SearchKnowledgeAnswer.AnswerSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchKnowledgeAnswer.AnswerSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
clearSnippet()
public SearchKnowledgeAnswer.AnswerSource.Builder clearSnippet()
The relevant snippet of the article.
string snippet = 3;
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
This builder for chaining. |
clearTitle()
public SearchKnowledgeAnswer.AnswerSource.Builder clearTitle()
The title of the article.
string title = 1;
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
This builder for chaining. |
clearUri()
public SearchKnowledgeAnswer.AnswerSource.Builder clearUri()
The URI of the article.
string uri = 2;
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
This builder for chaining. |
clone()
public SearchKnowledgeAnswer.AnswerSource.Builder clone()
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
getDefaultInstanceForType()
public SearchKnowledgeAnswer.AnswerSource getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getSnippet()
public String getSnippet()
The relevant snippet of the article.
string snippet = 3;
Returns | |
---|---|
Type | Description |
String |
The snippet. |
getSnippetBytes()
public ByteString getSnippetBytes()
The relevant snippet of the article.
string snippet = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for snippet. |
getTitle()
public String getTitle()
The title of the article.
string title = 1;
Returns | |
---|---|
Type | Description |
String |
The title. |
getTitleBytes()
public ByteString getTitleBytes()
The title of the article.
string title = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for title. |
getUri()
public String getUri()
The URI of the article.
string uri = 2;
Returns | |
---|---|
Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()
The URI of the article.
string uri = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SearchKnowledgeAnswer.AnswerSource other)
public SearchKnowledgeAnswer.AnswerSource.Builder mergeFrom(SearchKnowledgeAnswer.AnswerSource other)
Parameter | |
---|---|
Name | Description |
other |
SearchKnowledgeAnswer.AnswerSource |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchKnowledgeAnswer.AnswerSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SearchKnowledgeAnswer.AnswerSource.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchKnowledgeAnswer.AnswerSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SearchKnowledgeAnswer.AnswerSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchKnowledgeAnswer.AnswerSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
setSnippet(String value)
public SearchKnowledgeAnswer.AnswerSource.Builder setSnippet(String value)
The relevant snippet of the article.
string snippet = 3;
Parameter | |
---|---|
Name | Description |
value |
String The snippet to set. |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
This builder for chaining. |
setSnippetBytes(ByteString value)
public SearchKnowledgeAnswer.AnswerSource.Builder setSnippetBytes(ByteString value)
The relevant snippet of the article.
string snippet = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for snippet to set. |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
This builder for chaining. |
setTitle(String value)
public SearchKnowledgeAnswer.AnswerSource.Builder setTitle(String value)
The title of the article.
string title = 1;
Parameter | |
---|---|
Name | Description |
value |
String The title to set. |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
This builder for chaining. |
setTitleBytes(ByteString value)
public SearchKnowledgeAnswer.AnswerSource.Builder setTitleBytes(ByteString value)
The title of the article.
string title = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchKnowledgeAnswer.AnswerSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
setUri(String value)
public SearchKnowledgeAnswer.AnswerSource.Builder setUri(String value)
The URI of the article.
string uri = 2;
Parameter | |
---|---|
Name | Description |
value |
String The uri to set. |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public SearchKnowledgeAnswer.AnswerSource.Builder setUriBytes(ByteString value)
The URI of the article.
string uri = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uri to set. |
Returns | |
---|---|
Type | Description |
SearchKnowledgeAnswer.AnswerSource.Builder |
This builder for chaining. |