public static final class AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder> implements AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilder
Document metadata.Protobuf type
google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataaddRepeatedField, 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<AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder>public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.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<AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder>public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder>public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder mergeFrom(AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder>public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.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<AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder>IOExceptionpublic boolean hasDocument()
Document resource name.
optional string document = 1 [(.google.api.resource_reference) = { ... }hasDocument in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic String getDocument()
Document resource name.
optional string document = 1 [(.google.api.resource_reference) = { ... }getDocument in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic com.google.protobuf.ByteString getDocumentBytes()
Document resource name.
optional string document = 1 [(.google.api.resource_reference) = { ... }getDocumentBytes in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setDocument(String value)
Document resource name.
optional string document = 1 [(.google.api.resource_reference) = { ... }value - The document to set.public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder clearDocument()
Document resource name.
optional string document = 1 [(.google.api.resource_reference) = { ... }public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setDocumentBytes(com.google.protobuf.ByteString value)
Document resource name.
optional string document = 1 [(.google.api.resource_reference) = { ... }value - The bytes for document to set.public boolean hasUri()
URI for the document. It may contain a URL that redirects to the actual website.
optional string uri = 2;hasUri in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic String getUri()
URI for the document. It may contain a URL that redirects to the actual website.
optional string uri = 2;getUri in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic com.google.protobuf.ByteString getUriBytes()
URI for the document. It may contain a URL that redirects to the actual website.
optional string uri = 2;getUriBytes in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setUri(String value)
URI for the document. It may contain a URL that redirects to the actual website.
optional string uri = 2;value - The uri to set.public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder clearUri()
URI for the document. It may contain a URL that redirects to the actual website.
optional string uri = 2;public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setUriBytes(com.google.protobuf.ByteString value)
URI for the document. It may contain a URL that redirects to the actual website.
optional string uri = 2;value - The bytes for uri to set.public boolean hasTitle()
Title.
optional string title = 3;hasTitle in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic String getTitle()
Title.
optional string title = 3;getTitle in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic com.google.protobuf.ByteString getTitleBytes()
Title.
optional string title = 3;getTitleBytes in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setTitle(String value)
Title.
optional string title = 3;value - The title to set.public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder clearTitle()
Title.
optional string title = 3;public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setTitleBytes(com.google.protobuf.ByteString value)
Title.
optional string title = 3;value - The bytes for title to set.public boolean hasPageIdentifier()
Page identifier.
optional string page_identifier = 4;hasPageIdentifier in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic String getPageIdentifier()
Page identifier.
optional string page_identifier = 4;getPageIdentifier in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic com.google.protobuf.ByteString getPageIdentifierBytes()
Page identifier.
optional string page_identifier = 4;getPageIdentifierBytes in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setPageIdentifier(String value)
Page identifier.
optional string page_identifier = 4;value - The pageIdentifier to set.public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder clearPageIdentifier()
Page identifier.
optional string page_identifier = 4;public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setPageIdentifierBytes(com.google.protobuf.ByteString value)
Page identifier.
optional string page_identifier = 4;value - The bytes for pageIdentifier to set.public boolean hasDomain()
Domain name from the document URI. Note that the `uri` field may contain a URL that redirects to the actual website, in which case this will contain the domain name of the target site.
optional string domain = 5;hasDomain in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic String getDomain()
Domain name from the document URI. Note that the `uri` field may contain a URL that redirects to the actual website, in which case this will contain the domain name of the target site.
optional string domain = 5;getDomain in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic com.google.protobuf.ByteString getDomainBytes()
Domain name from the document URI. Note that the `uri` field may contain a URL that redirects to the actual website, in which case this will contain the domain name of the target site.
optional string domain = 5;getDomainBytes in interface AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderpublic AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setDomain(String value)
Domain name from the document URI. Note that the `uri` field may contain a URL that redirects to the actual website, in which case this will contain the domain name of the target site.
optional string domain = 5;value - The domain to set.public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder clearDomain()
Domain name from the document URI. Note that the `uri` field may contain a URL that redirects to the actual website, in which case this will contain the domain name of the target site.
optional string domain = 5;public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setDomainBytes(com.google.protobuf.ByteString value)
Domain name from the document URI. Note that the `uri` field may contain a URL that redirects to the actual website, in which case this will contain the domain name of the target site.
optional string domain = 5;value - The bytes for domain to set.Copyright © 2026 Google LLC. All rights reserved.