Send feedback
Class BatchGetDocumentsMetadataResponse.DocumentMetadata (0.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class BatchGetDocumentsMetadataResponse . DocumentMetadata extends GeneratedMessageV3 implements BatchGetDocumentsMetadataResponse . DocumentMetadataOrBuilder
The metadata of a Document .
Protobuf type
google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DATA_INGESTION_SOURCE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int LAST_REFRESHED_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int MATCHER_VALUE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int STATE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static BatchGetDocumentsMetadataResponse . DocumentMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static BatchGetDocumentsMetadataResponse . DocumentMetadata . Builder newBuilder ()
public static BatchGetDocumentsMetadataResponse . DocumentMetadata . Builder newBuilder ( BatchGetDocumentsMetadataResponse . DocumentMetadata prototype )
public static BatchGetDocumentsMetadataResponse . DocumentMetadata parseDelimitedFrom ( InputStream input )
public static BatchGetDocumentsMetadataResponse . DocumentMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static BatchGetDocumentsMetadataResponse . DocumentMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static BatchGetDocumentsMetadataResponse . DocumentMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static BatchGetDocumentsMetadataResponse . DocumentMetadata parseFrom ( ByteString data )
public static BatchGetDocumentsMetadataResponse . DocumentMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static BatchGetDocumentsMetadataResponse . DocumentMetadata parseFrom ( CodedInputStream input )
public static BatchGetDocumentsMetadataResponse . DocumentMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static BatchGetDocumentsMetadataResponse . DocumentMetadata parseFrom ( InputStream input )
public static BatchGetDocumentsMetadataResponse . DocumentMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static BatchGetDocumentsMetadataResponse . DocumentMetadata parseFrom ( ByteBuffer data )
public static BatchGetDocumentsMetadataResponse . DocumentMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<BatchGetDocumentsMetadataResponse . DocumentMetadata > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public String getDataIngestionSource ()
The data ingestion source of the
Document .
Allowed values are:
batch
: Data ingested via Batch API, e.g., ImportDocuments.
streaming
Data ingested via Streaming API, e.g., FHIR streaming.
string data_ingestion_source = 5;
Returns
Type
Description
String
The dataIngestionSource.
public ByteString getDataIngestionSourceBytes ()
The data ingestion source of the
Document .
Allowed values are:
batch
: Data ingested via Batch API, e.g., ImportDocuments.
streaming
Data ingested via Streaming API, e.g., FHIR streaming.
string data_ingestion_source = 5;
Returns
Type
Description
ByteString
The bytes for dataIngestionSource.
public BatchGetDocumentsMetadataResponse . DocumentMetadata getDefaultInstanceForType ()
public Timestamp getLastRefreshedTime ()
The timestamp of the last time the
Document was last indexed.
.google.protobuf.Timestamp last_refreshed_time = 4;
Returns
Type
Description
Timestamp
The lastRefreshedTime.
public TimestampOrBuilder getLastRefreshedTimeOrBuilder ()
The timestamp of the last time the
Document was last indexed.
.google.protobuf.Timestamp last_refreshed_time = 4;
public BatchGetDocumentsMetadataResponse . DocumentMetadata . MatcherValue getMatcherValue ()
The value of the matcher that was used to match the
Document .
.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;
public BatchGetDocumentsMetadataResponse . DocumentMetadata . MatcherValueOrBuilder getMatcherValueOrBuilder ()
The value of the matcher that was used to match the
Document .
.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;
public Parser<BatchGetDocumentsMetadataResponse . DocumentMetadata > getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public BatchGetDocumentsMetadataResponse . State getState ()
The state of the document.
.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.State state = 3;
public int getStateValue ()
The state of the document.
.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.State state = 3;
Returns
Type
Description
int
The enum numeric value on the wire for state.
public boolean hasLastRefreshedTime ()
The timestamp of the last time the
Document was last indexed.
.google.protobuf.Timestamp last_refreshed_time = 4;
Returns
Type
Description
boolean
Whether the lastRefreshedTime field is set.
public boolean hasMatcherValue ()
The value of the matcher that was used to match the
Document .
.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;
Returns
Type
Description
boolean
Whether the matcherValue field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public BatchGetDocumentsMetadataResponse . DocumentMetadata . Builder newBuilderForType ()
protected BatchGetDocumentsMetadataResponse . DocumentMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public BatchGetDocumentsMetadataResponse . DocumentMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]