Class BatchGetDocumentsMetadataResponse.DocumentMetadata (0.50.0)

public static final class BatchGetDocumentsMetadataResponse.DocumentMetadata extends GeneratedMessageV3 implements BatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder

The metadata of a Document.

Protobuf type google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchGetDocumentsMetadataResponse.DocumentMetadata

Static Fields

DATA_INGESTION_SOURCE_FIELD_NUMBER

public static final int DATA_INGESTION_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

LAST_REFRESHED_TIME_FIELD_NUMBER

public static final int LAST_REFRESHED_TIME_FIELD_NUMBER
Field Value
Type Description
int

MATCHER_VALUE_FIELD_NUMBER

public static final int MATCHER_VALUE_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchGetDocumentsMetadataResponse.DocumentMetadata getDefaultInstance()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder newBuilder()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

newBuilder(BatchGetDocumentsMetadataResponse.DocumentMetadata prototype)

public static BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder newBuilder(BatchGetDocumentsMetadataResponse.DocumentMetadata prototype)
Parameter
Name Description
prototype BatchGetDocumentsMetadataResponse.DocumentMetadata
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

parseDelimitedFrom(InputStream input)

public static BatchGetDocumentsMetadataResponse.DocumentMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchGetDocumentsMetadataResponse.DocumentMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchGetDocumentsMetadataResponse.DocumentMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchGetDocumentsMetadataResponse.DocumentMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchGetDocumentsMetadataResponse.DocumentMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchGetDocumentsMetadataResponse.DocumentMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchGetDocumentsMetadataResponse.DocumentMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchGetDocumentsMetadataResponse.DocumentMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchGetDocumentsMetadataResponse.DocumentMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchGetDocumentsMetadataResponse.DocumentMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchGetDocumentsMetadataResponse.DocumentMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchGetDocumentsMetadataResponse.DocumentMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchGetDocumentsMetadataResponse.DocumentMetadata> parser()
Returns
Type Description
Parser<DocumentMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataIngestionSource()

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.

getDataIngestionSourceBytes()

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.

getDefaultInstanceForType()

public BatchGetDocumentsMetadataResponse.DocumentMetadata getDefaultInstanceForType()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata

getLastRefreshedTime()

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.

getLastRefreshedTimeOrBuilder()

public TimestampOrBuilder getLastRefreshedTimeOrBuilder()

The timestamp of the last time the Document was last indexed.

.google.protobuf.Timestamp last_refreshed_time = 4;

Returns
Type Description
TimestampOrBuilder

getMatcherValue()

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;

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue

The matcherValue.

getMatcherValueOrBuilder()

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;

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValueOrBuilder

getParserForType()

public Parser<BatchGetDocumentsMetadataResponse.DocumentMetadata> getParserForType()
Returns
Type Description
Parser<DocumentMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public BatchGetDocumentsMetadataResponse.State getState()

The state of the document.

.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.State state = 3;

Returns
Type Description
BatchGetDocumentsMetadataResponse.State

The state.

getStateValue()

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.

hasLastRefreshedTime()

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.

hasMatcherValue()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder newBuilderForType()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder toBuilder()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException