Class BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder (0.48.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.v1alpha.BatchGetDocumentsMetadataResponse.DocumentMetadata

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchGetDocumentsMetadataResponse.DocumentMetadata.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
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
Overrides

build()

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

buildPartial()

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

clear()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder clear()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
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;

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

clearMatcherValue()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder clearMatcherValue()

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

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

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder clearState()

The state of the document.

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

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

This builder for chaining.

clone()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder clone()
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
Overrides

getDefaultInstanceForType()

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

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

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder

getMatcherValueOrBuilder()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValueOrBuilder getMatcherValueOrBuilder()

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

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

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValueOrBuilder

getState()

public BatchGetDocumentsMetadataResponse.State getState()

The state of the document.

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

Returns
Type Description
BatchGetDocumentsMetadataResponse.State

The state.

getStateValue()

public int getStateValue()

The state of the document.

.google.cloud.discoveryengine.v1alpha.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.v1alpha.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
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
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
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

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

Parameter
Name Description
value BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
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
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

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
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.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.v1alpha.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;

Parameter
Name Description
value BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

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

Parameter
Name Description
builderForValue BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

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
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
Overrides

setState(BatchGetDocumentsMetadataResponse.State value)

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

The state of the document.

.google.cloud.discoveryengine.v1alpha.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.v1alpha.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
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
Overrides