public static final class Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder> implements Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilder
Snippet information.Protobuf type
google.cloud.discoveryengine.v1.Answer.Step.Action.Observation.SearchResult.SnippetInfoaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder>public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder>public Answer.Step.Action.Observation.SearchResult.SnippetInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Answer.Step.Action.Observation.SearchResult.SnippetInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Answer.Step.Action.Observation.SearchResult.SnippetInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder>public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder mergeFrom(Answer.Step.Action.Observation.SearchResult.SnippetInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder>public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder>IOExceptionpublic String getSnippet()
Snippet content.
string snippet = 1;getSnippet in interface Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilderpublic com.google.protobuf.ByteString getSnippetBytes()
Snippet content.
string snippet = 1;getSnippetBytes in interface Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilderpublic Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder setSnippet(String value)
Snippet content.
string snippet = 1;value - The snippet to set.public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder clearSnippet()
Snippet content.
string snippet = 1;public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder setSnippetBytes(com.google.protobuf.ByteString value)
Snippet content.
string snippet = 1;value - The bytes for snippet to set.public String getSnippetStatus()
Status of the snippet defined by the search team.
string snippet_status = 2;getSnippetStatus in interface Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilderpublic com.google.protobuf.ByteString getSnippetStatusBytes()
Status of the snippet defined by the search team.
string snippet_status = 2;getSnippetStatusBytes in interface Answer.Step.Action.Observation.SearchResult.SnippetInfoOrBuilderpublic Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder setSnippetStatus(String value)
Status of the snippet defined by the search team.
string snippet_status = 2;value - The snippetStatus to set.public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder clearSnippetStatus()
Status of the snippet defined by the search team.
string snippet_status = 2;public Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder setSnippetStatusBytes(com.google.protobuf.ByteString value)
Status of the snippet defined by the search team.
string snippet_status = 2;value - The bytes for snippetStatus to set.Copyright © 2026 Google LLC. All rights reserved.