public static final class Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder extends GeneratedMessage.Builder<Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder> implements Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilderSnippet information.
Protobuf type
google.cloud.discoveryengine.v1beta.Answer.Step.Action.Observation.SearchResult.SnippetInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Answer.Step.Action.Observation.SearchResult.SnippetInfo.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Answer.Step.Action.Observation.SearchResult.SnippetInfo build()| Returns | |
|---|---|
| Type | Description |
Answer.Step.Action.Observation.SearchResult.SnippetInfo |
|
buildPartial()
public Answer.Step.Action.Observation.SearchResult.SnippetInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
Answer.Step.Action.Observation.SearchResult.SnippetInfo |
|
clear()
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder |
|
clearSnippet()
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder clearSnippet()Snippet content.
string snippet = 1;
| Returns | |
|---|---|
| Type | Description |
Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder |
This builder for chaining. |
clearSnippetStatus()
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder clearSnippetStatus()Status of the snippet defined by the search team.
string snippet_status = 2;
| Returns | |
|---|---|
| Type | Description |
Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Answer.Step.Action.Observation.SearchResult.SnippetInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Answer.Step.Action.Observation.SearchResult.SnippetInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSnippet()
public String getSnippet()Snippet content.
string snippet = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The snippet. |
getSnippetBytes()
public ByteString getSnippetBytes()Snippet content.
string snippet = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for snippet. |
getSnippetStatus()
public String getSnippetStatus()Status of the snippet defined by the search team.
string snippet_status = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The snippetStatus. |
getSnippetStatusBytes()
public ByteString getSnippetStatusBytes()Status of the snippet defined by the search team.
string snippet_status = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for snippetStatus. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Answer.Step.Action.Observation.SearchResult.SnippetInfo other)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder mergeFrom(Answer.Step.Action.Observation.SearchResult.SnippetInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
Answer.Step.Action.Observation.SearchResult.SnippetInfo |
| Returns | |
|---|---|
| Type | Description |
Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder |
|
setSnippet(String value)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder setSnippet(String value)Snippet content.
string snippet = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe snippet to set. |
| Returns | |
|---|---|
| Type | Description |
Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder |
This builder for chaining. |
setSnippetBytes(ByteString value)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder setSnippetBytes(ByteString value)Snippet content.
string snippet = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for snippet to set. |
| Returns | |
|---|---|
| Type | Description |
Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder |
This builder for chaining. |
setSnippetStatus(String value)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder setSnippetStatus(String value)Status of the snippet defined by the search team.
string snippet_status = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe snippetStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder |
This builder for chaining. |
setSnippetStatusBytes(ByteString value)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder setSnippetStatusBytes(ByteString value)Status of the snippet defined by the search team.
string snippet_status = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for snippetStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder |
This builder for chaining. |