public static final class Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder extends GeneratedMessageV3.Builder<Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder> implements Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilder
Snippet information.
Protobuf type
google.cloud.discoveryengine.v1alpha.Answer.Step.Action.Observation.SearchResult.SnippetInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Answer.Step.Action.Observation.SearchResult.SnippetInfo build()
buildPartial()
public Answer.Step.Action.Observation.SearchResult.SnippetInfo buildPartial()
clear()
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSnippet()
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder clearSnippet()
Snippet content.
string snippet = 1;
clearSnippetStatus()
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder clearSnippetStatus()
Status of the snippet defined by the search team.
string snippet_status = 2;
clone()
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder clone()
Overrides
getDefaultInstanceForType()
public Answer.Step.Action.Observation.SearchResult.SnippetInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Answer.Step.Action.Observation.SearchResult.SnippetInfo other)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder mergeFrom(Answer.Step.Action.Observation.SearchResult.SnippetInfo other)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSnippet(String value)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder setSnippet(String value)
Snippet content.
string snippet = 1;
Parameter |
Name |
Description |
value |
String
The snippet to set.
|
setSnippetBytes(ByteString value)
public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder setSnippetBytes(ByteString value)
Snippet content.
string snippet = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for snippet to set.
|
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 |
String
The snippetStatus to set.
|
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 |
ByteString
The bytes for snippetStatus to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides