public static final class Citation.Builder extends GeneratedMessage.Builder<Citation.Builder> implements CitationOrBuilder
Source attributions for content.
Protobuf type google.cloud.geminidataanalytics.v1beta.Citation
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllAnchors(Iterable<? extends CitationAnchor> values)
public Citation.Builder addAllAnchors(Iterable<? extends CitationAnchor> values)
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.CitationAnchor>
|
addAllSources(Iterable<? extends CitationSource> values)
public Citation.Builder addAllSources(Iterable<? extends CitationSource> values)
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.geminidataanalytics.v1beta.CitationSource>
|
addAnchors(CitationAnchor value)
public Citation.Builder addAnchors(CitationAnchor value)
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAnchors(CitationAnchor.Builder builderForValue)
public Citation.Builder addAnchors(CitationAnchor.Builder builderForValue)
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAnchors(int index, CitationAnchor value)
public Citation.Builder addAnchors(int index, CitationAnchor value)
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAnchors(int index, CitationAnchor.Builder builderForValue)
public Citation.Builder addAnchors(int index, CitationAnchor.Builder builderForValue)
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAnchorsBuilder()
public CitationAnchor.Builder addAnchorsBuilder()
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
addAnchorsBuilder(int index)
public CitationAnchor.Builder addAnchorsBuilder(int index)
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
addSources(CitationSource value)
public Citation.Builder addSources(CitationSource value)
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSources(CitationSource.Builder builderForValue)
public Citation.Builder addSources(CitationSource.Builder builderForValue)
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSources(int index, CitationSource value)
public Citation.Builder addSources(int index, CitationSource value)
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSources(int index, CitationSource.Builder builderForValue)
public Citation.Builder addSources(int index, CitationSource.Builder builderForValue)
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSourcesBuilder()
public CitationSource.Builder addSourcesBuilder()
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addSourcesBuilder(int index)
public CitationSource.Builder addSourcesBuilder(int index)
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
build()
buildPartial()
public Citation buildPartial()
clear()
public Citation.Builder clear()
Overrides
clearAnchors()
public Citation.Builder clearAnchors()
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearSources()
public Citation.Builder clearSources()
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAnchors(int index)
public CitationAnchor getAnchors(int index)
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getAnchorsBuilder(int index)
public CitationAnchor.Builder getAnchorsBuilder(int index)
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getAnchorsBuilderList()
public List<CitationAnchor.Builder> getAnchorsBuilderList()
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAnchorsCount()
public int getAnchorsCount()
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getAnchorsList()
public List<CitationAnchor> getAnchorsList()
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAnchorsOrBuilder(int index)
public CitationAnchorOrBuilder getAnchorsOrBuilder(int index)
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getAnchorsOrBuilderList()
public List<? extends CitationAnchorOrBuilder> getAnchorsOrBuilderList()
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.CitationAnchorOrBuilder> |
|
getDefaultInstanceForType()
public Citation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSources(int index)
public CitationSource getSources(int index)
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getSourcesBuilder(int index)
public CitationSource.Builder getSourcesBuilder(int index)
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getSourcesBuilderList()
public List<CitationSource.Builder> getSourcesBuilderList()
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSourcesCount()
public int getSourcesCount()
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getSourcesList()
public List<CitationSource> getSourcesList()
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSourcesOrBuilder(int index)
public CitationSourceOrBuilder getSourcesOrBuilder(int index)
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getSourcesOrBuilderList()
public List<? extends CitationSourceOrBuilder> getSourcesOrBuilderList()
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.CitationSourceOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Citation other)
public Citation.Builder mergeFrom(Citation other)
| Parameter |
| Name |
Description |
other |
Citation
|
public Citation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Citation.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeAnchors(int index)
public Citation.Builder removeAnchors(int index)
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
removeSources(int index)
public Citation.Builder removeSources(int index)
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
setAnchors(int index, CitationAnchor value)
public Citation.Builder setAnchors(int index, CitationAnchor value)
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setAnchors(int index, CitationAnchor.Builder builderForValue)
public Citation.Builder setAnchors(int index, CitationAnchor.Builder builderForValue)
Output only. List of the anchors of the citations.
repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setSources(int index, CitationSource value)
public Citation.Builder setSources(int index, CitationSource value)
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setSources(int index, CitationSource.Builder builderForValue)
public Citation.Builder setSources(int index, CitationSource.Builder builderForValue)
Output only. List of the sources being cited.
repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];