public static final class FhirStoreSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<FhirStoreSource.Builder> implements FhirStoreSourceOrBuilder
Cloud FhirStore source import data from.Protobuf type
google.cloud.discoveryengine.v1.FhirStoreSource| Modifier and Type | Method and Description |
|---|---|
FhirStoreSource.Builder |
addAllResourceTypes(Iterable<String> values)
The FHIR resource types to import.
|
FhirStoreSource.Builder |
addResourceTypes(String value)
The FHIR resource types to import.
|
FhirStoreSource.Builder |
addResourceTypesBytes(com.google.protobuf.ByteString value)
The FHIR resource types to import.
|
FhirStoreSource |
build() |
FhirStoreSource |
buildPartial() |
FhirStoreSource.Builder |
clear() |
FhirStoreSource.Builder |
clearFhirStore()
Required.
|
FhirStoreSource.Builder |
clearGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
FhirStoreSource.Builder |
clearResourceTypes()
The FHIR resource types to import.
|
FhirStoreSource.Builder |
clearUpdateFromLatestPredefinedSchema()
Optional.
|
FhirStoreSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFhirStore()
Required.
|
com.google.protobuf.ByteString |
getFhirStoreBytes()
Required.
|
String |
getGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
com.google.protobuf.ByteString |
getGcsStagingDirBytes()
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
String |
getResourceTypes(int index)
The FHIR resource types to import.
|
com.google.protobuf.ByteString |
getResourceTypesBytes(int index)
The FHIR resource types to import.
|
int |
getResourceTypesCount()
The FHIR resource types to import.
|
com.google.protobuf.ProtocolStringList |
getResourceTypesList()
The FHIR resource types to import.
|
boolean |
getUpdateFromLatestPredefinedSchema()
Optional.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FhirStoreSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FhirStoreSource.Builder |
mergeFrom(FhirStoreSource other) |
FhirStoreSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
FhirStoreSource.Builder |
setFhirStore(String value)
Required.
|
FhirStoreSource.Builder |
setFhirStoreBytes(com.google.protobuf.ByteString value)
Required.
|
FhirStoreSource.Builder |
setGcsStagingDir(String value)
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
FhirStoreSource.Builder |
setGcsStagingDirBytes(com.google.protobuf.ByteString value)
Intermediate Cloud Storage directory used for the import with a length
limit of 2,000 characters.
|
FhirStoreSource.Builder |
setResourceTypes(int index,
String value)
The FHIR resource types to import.
|
FhirStoreSource.Builder |
setUpdateFromLatestPredefinedSchema(boolean value)
Optional.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FhirStoreSource.Builder>public FhirStoreSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<FhirStoreSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FhirStoreSource.Builder>public FhirStoreSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FhirStoreSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FhirStoreSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FhirStoreSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FhirStoreSource.Builder>public FhirStoreSource.Builder mergeFrom(FhirStoreSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<FhirStoreSource.Builder>public FhirStoreSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FhirStoreSource.Builder>IOExceptionpublic String getFhirStore()
Required. The full resource name of the FHIR store to import data from, in
the format of
`projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`.
string fhir_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getFhirStore in interface FhirStoreSourceOrBuilderpublic com.google.protobuf.ByteString getFhirStoreBytes()
Required. The full resource name of the FHIR store to import data from, in
the format of
`projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`.
string fhir_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getFhirStoreBytes in interface FhirStoreSourceOrBuilderpublic FhirStoreSource.Builder setFhirStore(String value)
Required. The full resource name of the FHIR store to import data from, in
the format of
`projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`.
string fhir_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The fhirStore to set.public FhirStoreSource.Builder clearFhirStore()
Required. The full resource name of the FHIR store to import data from, in
the format of
`projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`.
string fhir_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public FhirStoreSource.Builder setFhirStoreBytes(com.google.protobuf.ByteString value)
Required. The full resource name of the FHIR store to import data from, in
the format of
`projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}`.
string fhir_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for fhirStore to set.public String getGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the FhirStore export to a specific Cloud Storage directory.
string gcs_staging_dir = 2;getGcsStagingDir in interface FhirStoreSourceOrBuilderpublic com.google.protobuf.ByteString getGcsStagingDirBytes()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the FhirStore export to a specific Cloud Storage directory.
string gcs_staging_dir = 2;getGcsStagingDirBytes in interface FhirStoreSourceOrBuilderpublic FhirStoreSource.Builder setGcsStagingDir(String value)
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the FhirStore export to a specific Cloud Storage directory.
string gcs_staging_dir = 2;value - The gcsStagingDir to set.public FhirStoreSource.Builder clearGcsStagingDir()
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the FhirStore export to a specific Cloud Storage directory.
string gcs_staging_dir = 2;public FhirStoreSource.Builder setGcsStagingDirBytes(com.google.protobuf.ByteString value)
Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the FhirStore export to a specific Cloud Storage directory.
string gcs_staging_dir = 2;value - The bytes for gcsStagingDir to set.public com.google.protobuf.ProtocolStringList getResourceTypesList()
The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.
repeated string resource_types = 3;getResourceTypesList in interface FhirStoreSourceOrBuilderpublic int getResourceTypesCount()
The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.
repeated string resource_types = 3;getResourceTypesCount in interface FhirStoreSourceOrBuilderpublic String getResourceTypes(int index)
The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.
repeated string resource_types = 3;getResourceTypes in interface FhirStoreSourceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getResourceTypesBytes(int index)
The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.
repeated string resource_types = 3;getResourceTypesBytes in interface FhirStoreSourceOrBuilderindex - The index of the value to return.public FhirStoreSource.Builder setResourceTypes(int index, String value)
The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.
repeated string resource_types = 3;index - The index to set the value at.value - The resourceTypes to set.public FhirStoreSource.Builder addResourceTypes(String value)
The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.
repeated string resource_types = 3;value - The resourceTypes to add.public FhirStoreSource.Builder addAllResourceTypes(Iterable<String> values)
The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.
repeated string resource_types = 3;values - The resourceTypes to add.public FhirStoreSource.Builder clearResourceTypes()
The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.
repeated string resource_types = 3;public FhirStoreSource.Builder addResourceTypesBytes(com.google.protobuf.ByteString value)
The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty.
repeated string resource_types = 3;value - The bytes of the resourceTypes to add.public boolean getUpdateFromLatestPredefinedSchema()
Optional. Whether to update the DataStore schema to the latest predefined schema. If true, the DataStore schema will be updated to include any FHIR fields or resource types that have been added since the last import and corresponding FHIR resources will be imported from the FHIR store. Note this field cannot be used in conjunction with `resource_types`. It should be used after initial import.
bool update_from_latest_predefined_schema = 4 [(.google.api.field_behavior) = OPTIONAL];
getUpdateFromLatestPredefinedSchema in interface FhirStoreSourceOrBuilderpublic FhirStoreSource.Builder setUpdateFromLatestPredefinedSchema(boolean value)
Optional. Whether to update the DataStore schema to the latest predefined schema. If true, the DataStore schema will be updated to include any FHIR fields or resource types that have been added since the last import and corresponding FHIR resources will be imported from the FHIR store. Note this field cannot be used in conjunction with `resource_types`. It should be used after initial import.
bool update_from_latest_predefined_schema = 4 [(.google.api.field_behavior) = OPTIONAL];
value - The updateFromLatestPredefinedSchema to set.public FhirStoreSource.Builder clearUpdateFromLatestPredefinedSchema()
Optional. Whether to update the DataStore schema to the latest predefined schema. If true, the DataStore schema will be updated to include any FHIR fields or resource types that have been added since the last import and corresponding FHIR resources will be imported from the FHIR store. Note this field cannot be used in conjunction with `resource_types`. It should be used after initial import.
bool update_from_latest_predefined_schema = 4 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2026 Google LLC. All rights reserved.