Send feedback
Class Answer.Step.Action.Observation.SearchResult.SnippetInfo.Builder (0.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.40.0 keyboard_arrow_down
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.v1beta.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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]