- 0.74.0 (latest)
 - 0.72.0
 - 0.71.0
 - 0.70.0
 - 0.69.0
 - 0.68.0
 - 0.66.0
 - 0.64.0
 - 0.63.0
 - 0.60.0
 - 0.59.0
 - 0.58.0
 - 0.56.0
 - 0.55.0
 - 0.54.0
 - 0.53.0
 - 0.52.0
 - 0.51.0
 - 0.50.0
 - 0.49.0
 - 0.48.0
 - 0.47.0
 - 0.45.0
 - 0.44.0
 - 0.43.0
 - 0.42.0
 - 0.41.0
 - 0.40.0
 - 0.39.0
 - 0.38.0
 - 0.37.0
 - 0.36.0
 - 0.35.0
 - 0.33.0
 - 0.32.0
 - 0.31.0
 - 0.30.0
 - 0.29.0
 - 0.28.0
 - 0.27.0
 - 0.26.0
 - 0.25.0
 - 0.24.0
 - 0.23.0
 - 0.20.0
 - 0.19.0
 - 0.18.0
 - 0.17.0
 - 0.16.0
 - 0.15.0
 - 0.14.0
 - 0.13.0
 - 0.12.0
 - 0.11.0
 - 0.10.0
 - 0.9.0
 - 0.8.0
 - 0.7.0
 - 0.5.0
 - 0.4.0
 - 0.3.0
 - 0.2.0
 - 0.1.0
 
public static final class AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder extends GeneratedMessageV3.Builder<AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder> implements AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadataOrBuilderDocument metadata.
 Protobuf type 
 google.cloud.discoveryengine.v1.AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        |
build()
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata build()| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata | 
        |
buildPartial()
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata buildPartial()| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata | 
        |
clear()
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        |
clearDocument()
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder clearDocument()Document resource name.
 optional string document = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
clearDomain()
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;
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        |
clearOneof(Descriptors.OneofDescriptor oneof)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        |
clearPageIdentifier()
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder clearPageIdentifier()Page identifier.
 optional string page_identifier = 4;
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
clearTitle()
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder clearTitle()Title.
 optional string title = 3;
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
clearUri()
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;
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
clone()
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder clone()| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        |
getDefaultInstanceForType()
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getDocument()
public String getDocument()Document resource name.
 optional string document = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
String | 
        The document.  | 
      
getDocumentBytes()
public ByteString getDocumentBytes()Document resource name.
 optional string document = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for document.  | 
      
getDomain()
public 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;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The domain.  | 
      
getDomainBytes()
public 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;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for domain.  | 
      
getPageIdentifier()
public String getPageIdentifier()Page identifier.
 optional string page_identifier = 4;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The pageIdentifier.  | 
      
getPageIdentifierBytes()
public ByteString getPageIdentifierBytes()Page identifier.
 optional string page_identifier = 4;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for pageIdentifier.  | 
      
getTitle()
public String getTitle()Title.
 optional string title = 3;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The title.  | 
      
getTitleBytes()
public ByteString getTitleBytes()Title.
 optional string title = 3;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for title.  | 
      
getUri()
public String getUri()URI for the document. It may contain a URL that redirects to the actual website.
 optional string uri = 2;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The uri.  | 
      
getUriBytes()
public ByteString getUriBytes()URI for the document. It may contain a URL that redirects to the actual website.
 optional string uri = 2;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for uri.  | 
      
hasDocument()
public boolean hasDocument()Document resource name.
 optional string document = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the document field is set.  | 
      
hasDomain()
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;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the domain field is set.  | 
      
hasPageIdentifier()
public boolean hasPageIdentifier()Page identifier.
 optional string page_identifier = 4;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the pageIdentifier field is set.  | 
      
hasTitle()
public boolean hasTitle()Title.
 optional string title = 3;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the title field is set.  | 
      
hasUri()
public boolean hasUri()URI for the document. It may contain a URL that redirects to the actual website.
 optional string uri = 2;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the uri field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata other)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder mergeFrom(AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        |
setDocument(String value)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setDocument(String value)Document resource name.
 optional string document = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe document to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
setDocumentBytes(ByteString value)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setDocumentBytes(ByteString value)Document resource name.
 optional string document = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for document to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
setDomain(String value)
public 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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe domain to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
setDomainBytes(ByteString value)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setDomainBytes(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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for domain to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        |
setPageIdentifier(String value)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setPageIdentifier(String value)Page identifier.
 optional string page_identifier = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe pageIdentifier to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
setPageIdentifierBytes(ByteString value)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setPageIdentifierBytes(ByteString value)Page identifier.
 optional string page_identifier = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for pageIdentifier to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        |
setTitle(String value)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setTitle(String value)Title.
 optional string title = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe title to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
setTitleBytes(ByteString value)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setTitleBytes(ByteString value)Title.
 optional string title = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for title to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        |
setUri(String value)
public 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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe uri to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  | 
      
setUriBytes(ByteString value)
public AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder setUriBytes(ByteString value)URI for the document. It may contain a URL that redirects to the actual website.
 optional string uri = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for uri to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
AssistantGroundedContent.TextGroundingMetadata.Reference.DocumentMetadata.Builder | 
        This builder for chaining.  |