Send feedback
Class Answer.Reference.StructuredDocumentInfo.Builder (0.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class Answer . Reference . StructuredDocumentInfo . Builder extends GeneratedMessageV3 . Builder<Answer . Reference . StructuredDocumentInfo . Builder > implements Answer . Reference . StructuredDocumentInfoOrBuilder
Structured search information.
Protobuf type
google.cloud.discoveryengine.v1beta.Answer.Reference.StructuredDocumentInfo
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 . Reference . StructuredDocumentInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Answer . Reference . StructuredDocumentInfo build ()
buildPartial()
public Answer . Reference . StructuredDocumentInfo buildPartial ()
clear()
public Answer . Reference . StructuredDocumentInfo . Builder clear ()
Overrides
clearDocument()
public Answer . Reference . StructuredDocumentInfo . Builder clearDocument ()
Document resource name.
string document = 1 [(.google.api.resource_reference) = { ... }
clearField(Descriptors.FieldDescriptor field)
public Answer . Reference . StructuredDocumentInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Answer . Reference . StructuredDocumentInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearStructData()
public Answer . Reference . StructuredDocumentInfo . Builder clearStructData ()
Structured search data.
.google.protobuf.Struct struct_data = 2;
clone()
public Answer . Reference . StructuredDocumentInfo . Builder clone ()
Overrides
getDefaultInstanceForType()
public Answer . Reference . StructuredDocumentInfo getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getDocument()
public String getDocument ()
Document resource name.
string document = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The document.
getDocumentBytes()
public ByteString getDocumentBytes ()
Document resource name.
string document = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for document.
getStructData()
public Struct getStructData ()
Structured search data.
.google.protobuf.Struct struct_data = 2;
Returns
Type
Description
Struct
The structData.
getStructDataBuilder()
public Struct . Builder getStructDataBuilder ()
Structured search data.
.google.protobuf.Struct struct_data = 2;
getStructDataOrBuilder()
public StructOrBuilder getStructDataOrBuilder ()
Structured search data.
.google.protobuf.Struct struct_data = 2;
hasStructData()
public boolean hasStructData ()
Structured search data.
.google.protobuf.Struct struct_data = 2;
Returns
Type
Description
boolean
Whether the structData field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Answer.Reference.StructuredDocumentInfo other)
public Answer . Reference . StructuredDocumentInfo . Builder mergeFrom ( Answer . Reference . StructuredDocumentInfo other )
public Answer . Reference . StructuredDocumentInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Answer . Reference . StructuredDocumentInfo . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeStructData(Struct value)
public Answer . Reference . StructuredDocumentInfo . Builder mergeStructData ( Struct value )
Structured search data.
.google.protobuf.Struct struct_data = 2;
Parameter
Name
Description
value
Struct
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Answer . Reference . StructuredDocumentInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDocument(String value)
public Answer . Reference . StructuredDocumentInfo . Builder setDocument ( String value )
Document resource name.
string document = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
String
The document to set.
setDocumentBytes(ByteString value)
public Answer . Reference . StructuredDocumentInfo . Builder setDocumentBytes ( ByteString value )
Document resource name.
string document = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
ByteString
The bytes for document to set.
setField(Descriptors.FieldDescriptor field, Object value)
public Answer . Reference . StructuredDocumentInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Answer . Reference . StructuredDocumentInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setStructData(Struct value)
public Answer . Reference . StructuredDocumentInfo . Builder setStructData ( Struct value )
Structured search data.
.google.protobuf.Struct struct_data = 2;
Parameter
Name
Description
value
Struct
setStructData(Struct.Builder builderForValue)
public Answer . Reference . StructuredDocumentInfo . Builder setStructData ( Struct . Builder builderForValue )
Structured search data.
.google.protobuf.Struct struct_data = 2;
Parameter
Name
Description
builderForValue
Builder
setUnknownFields(UnknownFieldSet unknownFields)
public final Answer . Reference . StructuredDocumentInfo . 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."],[],[]]