Class BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder>
com.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
- All Implemented Interfaces:
BatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchGetDocumentsMetadataResponse.DocumentMetadata
public static final class BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder>
implements BatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder
The metadata of a [Document][google.cloud.discoveryengine.v1beta.Document].Protobuf type
google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The data ingestion source of the [Document][google.cloud.discoveryengine.v1beta.Document].The timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.The value of the matcher that was used to match the [Document][google.cloud.discoveryengine.v1beta.Document].The state of the document.The data ingestion source of the [Document][google.cloud.discoveryengine.v1beta.Document].com.google.protobuf.ByteStringThe data ingestion source of the [Document][google.cloud.discoveryengine.v1beta.Document].static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.com.google.protobuf.Timestamp.BuilderThe timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.com.google.protobuf.TimestampOrBuilderThe timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.The value of the matcher that was used to match the [Document][google.cloud.discoveryengine.v1beta.Document].The value of the matcher that was used to match the [Document][google.cloud.discoveryengine.v1beta.Document].The value of the matcher that was used to match the [Document][google.cloud.discoveryengine.v1beta.Document].getState()The state of the document.intThe state of the document.booleanThe timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.booleanThe value of the matcher that was used to match the [Document][google.cloud.discoveryengine.v1beta.Document].protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastRefreshedTime(com.google.protobuf.Timestamp value) The timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.The value of the matcher that was used to match the [Document][google.cloud.discoveryengine.v1beta.Document].setDataIngestionSource(String value) The data ingestion source of the [Document][google.cloud.discoveryengine.v1beta.Document].setDataIngestionSourceBytes(com.google.protobuf.ByteString value) The data ingestion source of the [Document][google.cloud.discoveryengine.v1beta.Document].setLastRefreshedTime(com.google.protobuf.Timestamp value) The timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.setLastRefreshedTime(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.The value of the matcher that was used to match the [Document][google.cloud.discoveryengine.v1beta.Document].setMatcherValue(BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder builderForValue) The value of the matcher that was used to match the [Document][google.cloud.discoveryengine.v1beta.Document].The state of the document.setStateValue(int value) The state of the document.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder>
-
mergeFrom
public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder>- Throws:
IOException
-
hasMatcherValue
public boolean hasMatcherValue()The value of the matcher that was used to match the [Document][google.cloud.discoveryengine.v1beta.Document].
.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;- Specified by:
hasMatcherValuein interfaceBatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder- Returns:
- Whether the matcherValue field is set.
-
getMatcherValue
The value of the matcher that was used to match the [Document][google.cloud.discoveryengine.v1beta.Document].
.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;- Specified by:
getMatcherValuein interfaceBatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder- Returns:
- The matcherValue.
-
setMatcherValue
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.Document].
.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2; -
setMatcherValue
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.Document].
.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2; -
mergeMatcherValue
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.Document].
.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2; -
clearMatcherValue
The value of the matcher that was used to match the [Document][google.cloud.discoveryengine.v1beta.Document].
.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2; -
getMatcherValueBuilder
public BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue.Builder getMatcherValueBuilder()The value of the matcher that was used to match the [Document][google.cloud.discoveryengine.v1beta.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.Document].
.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata.MatcherValue matcher_value = 2;- Specified by:
getMatcherValueOrBuilderin interfaceBatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder
-
getStateValue
public int getStateValue()The state of the document.
.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.State state = 3;- Specified by:
getStateValuein interfaceBatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
The state of the document.
.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.State state = 3;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
The state of the document.
.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.State state = 3;- Specified by:
getStatein interfaceBatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder- Returns:
- The state.
-
setState
public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setState(BatchGetDocumentsMetadataResponse.State value) The state of the document.
.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.State state = 3;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
The state of the document.
.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.State state = 3;- Returns:
- This builder for chaining.
-
hasLastRefreshedTime
public boolean hasLastRefreshedTime()The timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.
.google.protobuf.Timestamp last_refreshed_time = 4;- Specified by:
hasLastRefreshedTimein interfaceBatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder- Returns:
- Whether the lastRefreshedTime field is set.
-
getLastRefreshedTime
public com.google.protobuf.Timestamp getLastRefreshedTime()The timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.
.google.protobuf.Timestamp last_refreshed_time = 4;- Specified by:
getLastRefreshedTimein interfaceBatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder- Returns:
- The lastRefreshedTime.
-
setLastRefreshedTime
public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setLastRefreshedTime(com.google.protobuf.Timestamp value) The timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.
.google.protobuf.Timestamp last_refreshed_time = 4; -
setLastRefreshedTime
public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setLastRefreshedTime(com.google.protobuf.Timestamp.Builder builderForValue) The timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.
.google.protobuf.Timestamp last_refreshed_time = 4; -
mergeLastRefreshedTime
public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder mergeLastRefreshedTime(com.google.protobuf.Timestamp value) The timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.
.google.protobuf.Timestamp last_refreshed_time = 4; -
clearLastRefreshedTime
The timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.
.google.protobuf.Timestamp last_refreshed_time = 4; -
getLastRefreshedTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastRefreshedTimeBuilder()The timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.
.google.protobuf.Timestamp last_refreshed_time = 4; -
getLastRefreshedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastRefreshedTimeOrBuilder()The timestamp of the last time the [Document][google.cloud.discoveryengine.v1beta.Document] was last indexed.
.google.protobuf.Timestamp last_refreshed_time = 4;- Specified by:
getLastRefreshedTimeOrBuilderin interfaceBatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder
-
getDataIngestionSource
The data ingestion source of the [Document][google.cloud.discoveryengine.v1beta.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;- Specified by:
getDataIngestionSourcein interfaceBatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder- Returns:
- The dataIngestionSource.
-
getDataIngestionSourceBytes
public com.google.protobuf.ByteString getDataIngestionSourceBytes()The data ingestion source of the [Document][google.cloud.discoveryengine.v1beta.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;- Specified by:
getDataIngestionSourceBytesin interfaceBatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder- Returns:
- The bytes for dataIngestionSource.
-
setDataIngestionSource
public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setDataIngestionSource(String value) The data ingestion source of the [Document][google.cloud.discoveryengine.v1beta.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;- Parameters:
value- The dataIngestionSource to set.- Returns:
- This builder for chaining.
-
clearDataIngestionSource
The data ingestion source of the [Document][google.cloud.discoveryengine.v1beta.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:
- This builder for chaining.
-
setDataIngestionSourceBytes
public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder setDataIngestionSourceBytes(com.google.protobuf.ByteString value) The data ingestion source of the [Document][google.cloud.discoveryengine.v1beta.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;- Parameters:
value- The bytes for dataIngestionSource to set.- Returns:
- This builder for chaining.
-