public static final class CitationMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<CitationMetadata.Builder> implements CitationMetadataOrBuilder
A collection of source attributions for a piece of content.Protobuf type
google.cloud.aiplatform.v1.CitationMetadataaddRepeatedField, 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<CitationMetadata.Builder>public CitationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<CitationMetadata.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<CitationMetadata.Builder>public CitationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CitationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CitationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CitationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CitationMetadata.Builder>public CitationMetadata.Builder mergeFrom(CitationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<CitationMetadata.Builder>public CitationMetadata.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<CitationMetadata.Builder>IOExceptionpublic List<Citation> getCitationsList()
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCitationsList in interface CitationMetadataOrBuilderpublic int getCitationsCount()
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCitationsCount in interface CitationMetadataOrBuilderpublic Citation getCitations(int index)
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCitations in interface CitationMetadataOrBuilderpublic CitationMetadata.Builder setCitations(int index, Citation value)
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationMetadata.Builder setCitations(int index, Citation.Builder builderForValue)
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationMetadata.Builder addCitations(Citation value)
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationMetadata.Builder addCitations(int index, Citation value)
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationMetadata.Builder addCitations(Citation.Builder builderForValue)
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationMetadata.Builder addCitations(int index, Citation.Builder builderForValue)
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationMetadata.Builder addAllCitations(Iterable<? extends Citation> values)
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationMetadata.Builder clearCitations()
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationMetadata.Builder removeCitations(int index)
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Citation.Builder getCitationsBuilder(int index)
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CitationOrBuilder getCitationsOrBuilder(int index)
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCitationsOrBuilder in interface CitationMetadataOrBuilderpublic List<? extends CitationOrBuilder> getCitationsOrBuilderList()
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCitationsOrBuilderList in interface CitationMetadataOrBuilderpublic Citation.Builder addCitationsBuilder()
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Citation.Builder addCitationsBuilder(int index)
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<Citation.Builder> getCitationsBuilderList()
Output only. List of citations.
repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Copyright © 2026 Google LLC. All rights reserved.