Class BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder (0.54.0)

public static final class BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder extends GeneratedMessageV3.Builder<BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder> implements BatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder

The metadata of a Document.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public BatchGetDocumentsMetadataResponse.DocumentMetadata build()

buildPartial()

public BatchGetDocumentsMetadataResponse.DocumentMetadata buildPartial()

clear()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder clear()
Overrides

clearDataIngestionSource()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder clearDataIngestionSource()

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
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearLastRefreshedTime()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder clearLastRefreshedTime()

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

.google.protobuf.Timestamp last_refreshed_time = 4;

clearMatcherValue()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder clearMatcherValue()

The value of the matcher that was used to match the Document.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clearState()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder clearState()

The state of the document.

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

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

This builder for chaining.

clone()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder clone()
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()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getLastRefreshedTimeBuilder()

public Timestamp.Builder getLastRefreshedTimeBuilder()

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

.google.protobuf.Timestamp last_refreshed_time = 4;

Returns
Type Description
Builder

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.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue

The matcherValue.

getMatcherValueBuilder()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder getMatcherValueBuilder()

The value of the matcher that was used to match the Document.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;

getMatcherValueOrBuilder()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValueOrBuilder getMatcherValueOrBuilder()

The value of the matcher that was used to match the Document.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;

getState()

public BatchGetDocumentsMetadataResponse.State getState()

The state of the document.

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

Returns
Type Description
BatchGetDocumentsMetadataResponse.State

The state.

getStateValue()

public int getStateValue()

The state of the document.

.google.cloud.discoveryengine.v1beta.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.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;

Returns
Type Description
boolean

Whether the matcherValue field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchGetDocumentsMetadataResponse.DocumentMetadata other)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder mergeFrom(BatchGetDocumentsMetadataResponse.DocumentMetadata other)
Parameter
Name Description
other BatchGetDocumentsMetadataResponse.DocumentMetadata

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeLastRefreshedTime(Timestamp value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder mergeLastRefreshedTime(Timestamp value)

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

.google.protobuf.Timestamp last_refreshed_time = 4;

Parameter
Name Description
value Timestamp

mergeMatcherValue(BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder mergeMatcherValue(BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue value)

The value of the matcher that was used to match the Document.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setDataIngestionSource(String value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setDataIngestionSource(String value)

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;

Parameter
Name Description
value String

The dataIngestionSource to set.

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

This builder for chaining.

setDataIngestionSourceBytes(ByteString value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setDataIngestionSourceBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for dataIngestionSource to set.

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

setLastRefreshedTime(Timestamp value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setLastRefreshedTime(Timestamp value)

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

.google.protobuf.Timestamp last_refreshed_time = 4;

Parameter
Name Description
value Timestamp

setLastRefreshedTime(Timestamp.Builder builderForValue)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setLastRefreshedTime(Timestamp.Builder builderForValue)

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

.google.protobuf.Timestamp last_refreshed_time = 4;

Parameter
Name Description
builderForValue Builder

setMatcherValue(BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setMatcherValue(BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue value)

The value of the matcher that was used to match the Document.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;

setMatcherValue(BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder builderForValue)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setMatcherValue(BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder builderForValue)

The value of the matcher that was used to match the Document.

.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setState(BatchGetDocumentsMetadataResponse.State value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setState(BatchGetDocumentsMetadataResponse.State value)

The state of the document.

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

Parameter
Name Description
value BatchGetDocumentsMetadataResponse.State

The state to set.

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

This builder for chaining.

setStateValue(int value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setStateValue(int value)

The state of the document.

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

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides