Class FhirStoreSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FhirStoreSource.Builder>
com.google.cloud.discoveryengine.v1beta.FhirStoreSource.Builder
- All Implemented Interfaces:
FhirStoreSourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FhirStoreSource
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.v1beta.FhirStoreSource-
Method Summary
Modifier and TypeMethodDescriptionaddAllResourceTypes(Iterable<String> values) The FHIR resource types to import.addResourceTypes(String value) The FHIR resource types to import.addResourceTypesBytes(com.google.protobuf.ByteString value) The FHIR resource types to import.build()clear()Required.Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.The FHIR resource types to import.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.com.google.protobuf.ByteStringIntermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.getResourceTypes(int index) The FHIR resource types to import.com.google.protobuf.ByteStringgetResourceTypesBytes(int index) The FHIR resource types to import.intThe FHIR resource types to import.com.google.protobuf.ProtocolStringListThe FHIR resource types to import.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(FhirStoreSource other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setFhirStore(String value) Required.setFhirStoreBytes(com.google.protobuf.ByteString value) Required.setGcsStagingDir(String value) Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.setGcsStagingDirBytes(com.google.protobuf.ByteString value) Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters.setResourceTypes(int index, String value) The FHIR resource types to import.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<FhirStoreSource.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<FhirStoreSource.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<FhirStoreSource.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FhirStoreSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FhirStoreSource.Builder>
-
mergeFrom
public FhirStoreSource.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<FhirStoreSource.Builder>- Throws:
IOException
-
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) = { ... }- Specified by:
getFhirStorein interfaceFhirStoreSourceOrBuilder- Returns:
- The fhirStore.
-
getFhirStoreBytes
public 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) = { ... }- Specified by:
getFhirStoreBytesin interfaceFhirStoreSourceOrBuilder- Returns:
- The bytes for fhirStore.
-
setFhirStore
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) = { ... }- Parameters:
value- The fhirStore to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Returns:
- This builder for chaining.
-
setFhirStoreBytes
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) = { ... }- Parameters:
value- The bytes for fhirStore to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getGcsStagingDirin interfaceFhirStoreSourceOrBuilder- Returns:
- The gcsStagingDir.
-
getGcsStagingDirBytes
public 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;- Specified by:
getGcsStagingDirBytesin interfaceFhirStoreSourceOrBuilder- Returns:
- The bytes for gcsStagingDir.
-
setGcsStagingDir
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;- Parameters:
value- The gcsStagingDir to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setGcsStagingDirBytes
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;- Parameters:
value- The bytes for gcsStagingDir to set.- Returns:
- This builder for chaining.
-
getResourceTypesList
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;- Specified by:
getResourceTypesListin interfaceFhirStoreSourceOrBuilder- Returns:
- A list containing the resourceTypes.
-
getResourceTypesCount
public 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;- Specified by:
getResourceTypesCountin interfaceFhirStoreSourceOrBuilder- Returns:
- The count of resourceTypes.
-
getResourceTypes
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;- Specified by:
getResourceTypesin interfaceFhirStoreSourceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resourceTypes at the given index.
-
getResourceTypesBytes
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;- Specified by:
getResourceTypesBytesin interfaceFhirStoreSourceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resourceTypes at the given index.
-
setResourceTypes
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;- Parameters:
index- The index to set the value at.value- The resourceTypes to set.- Returns:
- This builder for chaining.
-
addResourceTypes
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;- Parameters:
value- The resourceTypes to add.- Returns:
- This builder for chaining.
-
addAllResourceTypes
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;- Parameters:
values- The resourceTypes to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addResourceTypesBytes
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;- Parameters:
value- The bytes of the resourceTypes to add.- Returns:
- This builder for chaining.
-