Class BatchGetDocumentsMetadataRequest.FhirMatcher.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataRequest.FhirMatcher.Builder>
com.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.FhirMatcher.Builder
- All Implemented Interfaces:
BatchGetDocumentsMetadataRequest.FhirMatcherOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchGetDocumentsMetadataRequest.FhirMatcher
public static final class BatchGetDocumentsMetadataRequest.FhirMatcher.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataRequest.FhirMatcher.Builder>
implements BatchGetDocumentsMetadataRequest.FhirMatcherOrBuilder
Matcher for the [Document][google.cloud.discoveryengine.v1beta.Document]s by FHIR resource names.Protobuf type
google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.FhirMatcher-
Method Summary
Modifier and TypeMethodDescriptionaddAllFhirResources(Iterable<String> values) Required.addFhirResources(String value) Required.addFhirResourcesBytes(com.google.protobuf.ByteString value) Required.build()clear()Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFhirResources(int index) Required.com.google.protobuf.ByteStringgetFhirResourcesBytes(int index) Required.intRequired.com.google.protobuf.ProtocolStringListRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setFhirResources(int index, String value) Required.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<BatchGetDocumentsMetadataRequest.FhirMatcher.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<BatchGetDocumentsMetadataRequest.FhirMatcher.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<BatchGetDocumentsMetadataRequest.FhirMatcher.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 BatchGetDocumentsMetadataRequest.FhirMatcher.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchGetDocumentsMetadataRequest.FhirMatcher.Builder>
-
mergeFrom
public BatchGetDocumentsMetadataRequest.FhirMatcher.Builder mergeFrom(BatchGetDocumentsMetadataRequest.FhirMatcher other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchGetDocumentsMetadataRequest.FhirMatcher.Builder>
-
mergeFrom
public BatchGetDocumentsMetadataRequest.FhirMatcher.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<BatchGetDocumentsMetadataRequest.FhirMatcher.Builder>- Throws:
IOException
-
getFhirResourcesList
public com.google.protobuf.ProtocolStringList getFhirResourcesList()Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}repeated string fhir_resources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getFhirResourcesListin interfaceBatchGetDocumentsMetadataRequest.FhirMatcherOrBuilder- Returns:
- A list containing the fhirResources.
-
getFhirResourcesCount
public int getFhirResourcesCount()Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}repeated string fhir_resources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getFhirResourcesCountin interfaceBatchGetDocumentsMetadataRequest.FhirMatcherOrBuilder- Returns:
- The count of fhirResources.
-
getFhirResources
Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}repeated string fhir_resources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getFhirResourcesin interfaceBatchGetDocumentsMetadataRequest.FhirMatcherOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fhirResources at the given index.
-
getFhirResourcesBytes
public com.google.protobuf.ByteString getFhirResourcesBytes(int index) Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}repeated string fhir_resources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getFhirResourcesBytesin interfaceBatchGetDocumentsMetadataRequest.FhirMatcherOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fhirResources at the given index.
-
setFhirResources
public BatchGetDocumentsMetadataRequest.FhirMatcher.Builder setFhirResources(int index, String value) Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}repeated string fhir_resources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The fhirResources to set.- Returns:
- This builder for chaining.
-
addFhirResources
Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}repeated string fhir_resources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The fhirResources to add.- Returns:
- This builder for chaining.
-
addAllFhirResources
public BatchGetDocumentsMetadataRequest.FhirMatcher.Builder addAllFhirResources(Iterable<String> values) Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}repeated string fhir_resources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
values- The fhirResources to add.- Returns:
- This builder for chaining.
-
clearFhirResources
Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}repeated string fhir_resources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addFhirResourcesBytes
public BatchGetDocumentsMetadataRequest.FhirMatcher.Builder addFhirResourcesBytes(com.google.protobuf.ByteString value) Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}repeated string fhir_resources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the fhirResources to add.- Returns:
- This builder for chaining.
-