public static final class Answer.CitationSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<Answer.CitationSource.Builder> implements Answer.CitationSourceOrBuilder
Citation source.Protobuf type
google.cloud.discoveryengine.v1.Answer.CitationSource| Modifier and Type | Method and Description |
|---|---|
Answer.CitationSource |
build() |
Answer.CitationSource |
buildPartial() |
Answer.CitationSource.Builder |
clear() |
Answer.CitationSource.Builder |
clearReferenceId()
ID of the citation source.
|
Answer.CitationSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getReferenceId()
ID of the citation source.
|
com.google.protobuf.ByteString |
getReferenceIdBytes()
ID of the citation source.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Answer.CitationSource.Builder |
mergeFrom(Answer.CitationSource other) |
Answer.CitationSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Answer.CitationSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
Answer.CitationSource.Builder |
setReferenceId(String value)
ID of the citation source.
|
Answer.CitationSource.Builder |
setReferenceIdBytes(com.google.protobuf.ByteString value)
ID of the citation source.
|
addRepeatedField, 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<Answer.CitationSource.Builder>public Answer.CitationSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<Answer.CitationSource.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<Answer.CitationSource.Builder>public Answer.CitationSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Answer.CitationSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Answer.CitationSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Answer.CitationSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Answer.CitationSource.Builder>public Answer.CitationSource.Builder mergeFrom(Answer.CitationSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<Answer.CitationSource.Builder>public Answer.CitationSource.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<Answer.CitationSource.Builder>IOExceptionpublic String getReferenceId()
ID of the citation source.
string reference_id = 1;getReferenceId in interface Answer.CitationSourceOrBuilderpublic com.google.protobuf.ByteString getReferenceIdBytes()
ID of the citation source.
string reference_id = 1;getReferenceIdBytes in interface Answer.CitationSourceOrBuilderpublic Answer.CitationSource.Builder setReferenceId(String value)
ID of the citation source.
string reference_id = 1;value - The referenceId to set.public Answer.CitationSource.Builder clearReferenceId()
ID of the citation source.
string reference_id = 1;public Answer.CitationSource.Builder setReferenceIdBytes(com.google.protobuf.ByteString value)
ID of the citation source.
string reference_id = 1;value - The bytes for referenceId to set.Copyright © 2026 Google LLC. All rights reserved.