public static final class SearchResponse.Summary.CitationMetadata.Builder extends GeneratedMessageV3.Builder<SearchResponse.Summary.CitationMetadata.Builder> implements SearchResponse.Summary.CitationMetadataOrBuilder
Citation metadata.
Protobuf type
google.cloud.discoveryengine.v1beta.SearchResponse.Summary.CitationMetadata
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public SearchResponse.Summary.CitationMetadata.Builder addAllCitations(Iterable<? extends SearchResponse.Summary.Citation> values)
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation>
|
public SearchResponse.Summary.CitationMetadata.Builder addCitations(SearchResponse.Summary.Citation value)
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
public SearchResponse.Summary.CitationMetadata.Builder addCitations(SearchResponse.Summary.Citation.Builder builderForValue)
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
public SearchResponse.Summary.CitationMetadata.Builder addCitations(int index, SearchResponse.Summary.Citation value)
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
public SearchResponse.Summary.CitationMetadata.Builder addCitations(int index, SearchResponse.Summary.Citation.Builder builderForValue)
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
public SearchResponse.Summary.Citation.Builder addCitationsBuilder()
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
public SearchResponse.Summary.Citation.Builder addCitationsBuilder(int index)
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
Parameter |
Name |
Description |
index |
int
|
public SearchResponse.Summary.CitationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SearchResponse.Summary.CitationMetadata build()
public SearchResponse.Summary.CitationMetadata buildPartial()
public SearchResponse.Summary.CitationMetadata.Builder clear()
Overrides
public SearchResponse.Summary.CitationMetadata.Builder clearCitations()
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
public SearchResponse.Summary.CitationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public SearchResponse.Summary.CitationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public SearchResponse.Summary.CitationMetadata.Builder clone()
Overrides
public SearchResponse.Summary.Citation getCitations(int index)
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
Parameter |
Name |
Description |
index |
int
|
public SearchResponse.Summary.Citation.Builder getCitationsBuilder(int index)
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
Parameter |
Name |
Description |
index |
int
|
public List<SearchResponse.Summary.Citation.Builder> getCitationsBuilderList()
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
public int getCitationsCount()
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
Returns |
Type |
Description |
int |
|
public List<SearchResponse.Summary.Citation> getCitationsList()
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
public SearchResponse.Summary.CitationOrBuilder getCitationsOrBuilder(int index)
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends SearchResponse.Summary.CitationOrBuilder> getCitationsOrBuilderList()
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1beta.SearchResponse.Summary.CitationOrBuilder> |
|
public SearchResponse.Summary.CitationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public SearchResponse.Summary.CitationMetadata.Builder mergeFrom(SearchResponse.Summary.CitationMetadata other)
public SearchResponse.Summary.CitationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public SearchResponse.Summary.CitationMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final SearchResponse.Summary.CitationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public SearchResponse.Summary.CitationMetadata.Builder removeCitations(int index)
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
Parameter |
Name |
Description |
index |
int
|
public SearchResponse.Summary.CitationMetadata.Builder setCitations(int index, SearchResponse.Summary.Citation value)
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
public SearchResponse.Summary.CitationMetadata.Builder setCitations(int index, SearchResponse.Summary.Citation.Builder builderForValue)
Citations for segments.
repeated .google.cloud.discoveryengine.v1beta.SearchResponse.Summary.Citation citations = 1;
public SearchResponse.Summary.CitationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public SearchResponse.Summary.CitationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final SearchResponse.Summary.CitationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides