Class FhirStoreSource.Builder (0.45.0)

public static final class FhirStoreSource.Builder extends GeneratedMessageV3.Builder<FhirStoreSource.Builder> implements FhirStoreSourceOrBuilder

Cloud FhirStore source import data from.

Protobuf type google.cloud.discoveryengine.v1alpha.FhirStoreSource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllResourceTypes(Iterable<String> values)

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. Default to all supported FHIR resource types if empty.

repeated string resource_types = 3;

Parameter
Name Description
values Iterable<String>

The resourceTypes to add.

Returns
Type Description
FhirStoreSource.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FhirStoreSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FhirStoreSource.Builder
Overrides

addResourceTypes(String value)

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. Default to all supported FHIR resource types if empty.

repeated string resource_types = 3;

Parameter
Name Description
value String

The resourceTypes to add.

Returns
Type Description
FhirStoreSource.Builder

This builder for chaining.

addResourceTypesBytes(ByteString value)

public FhirStoreSource.Builder addResourceTypesBytes(ByteString value)

The FHIR resource types to import. The resource types should be a subset of all supported FHIR resource types. Default to all supported FHIR resource types if empty.

repeated string resource_types = 3;

Parameter
Name Description
value ByteString

The bytes of the resourceTypes to add.

Returns
Type Description
FhirStoreSource.Builder

This builder for chaining.

build()

public FhirStoreSource build()
Returns
Type Description
FhirStoreSource

buildPartial()

public FhirStoreSource buildPartial()
Returns
Type Description
FhirStoreSource

clear()

public FhirStoreSource.Builder clear()
Returns
Type Description
FhirStoreSource.Builder
Overrides

clearFhirStore()

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) = { ... }

Returns
Type Description
FhirStoreSource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FhirStoreSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FhirStoreSource.Builder
Overrides

clearGcsStagingDir()

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;

Returns
Type Description
FhirStoreSource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResourceTypes()

public FhirStoreSource.Builder clearResourceTypes()

The FHIR resource types to import. The resource types should be a subset of all supported FHIR resource types. Default to all supported FHIR resource types if empty.

repeated string resource_types = 3;

Returns
Type Description
FhirStoreSource.Builder

This builder for chaining.

clone()

public FhirStoreSource.Builder clone()
Returns
Type Description
FhirStoreSource.Builder
Overrides

getDefaultInstanceForType()

public FhirStoreSource getDefaultInstanceForType()
Returns
Type Description
FhirStoreSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFhirStore()

public 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) = { ... }

Returns
Type Description
String

The fhirStore.

getFhirStoreBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for fhirStore.

getGcsStagingDir()

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;

Returns
Type Description
String

The gcsStagingDir.

getGcsStagingDirBytes()

public 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;

Returns
Type Description
ByteString

The bytes for gcsStagingDir.

getResourceTypes(int index)

public String getResourceTypes(int index)

The FHIR resource types to import. The resource types should be a subset of all supported FHIR resource types. Default to all supported FHIR resource types if empty.

repeated string resource_types = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The resourceTypes at the given index.

getResourceTypesBytes(int index)

public ByteString getResourceTypesBytes(int index)

The FHIR resource types to import. The resource types should be a subset of all supported FHIR resource types. Default to all supported FHIR resource types if empty.

repeated string resource_types = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the resourceTypes at the given index.

getResourceTypesCount()

public int getResourceTypesCount()

The FHIR resource types to import. The resource types should be a subset of all supported FHIR resource types. Default to all supported FHIR resource types if empty.

repeated string resource_types = 3;

Returns
Type Description
int

The count of resourceTypes.

getResourceTypesList()

public ProtocolStringList getResourceTypesList()

The FHIR resource types to import. The resource types should be a subset of all supported FHIR resource types. Default to all supported FHIR resource types if empty.

repeated string resource_types = 3;

Returns
Type Description
ProtocolStringList

A list containing the resourceTypes.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FhirStoreSource other)

public FhirStoreSource.Builder mergeFrom(FhirStoreSource other)
Parameter
Name Description
other FhirStoreSource
Returns
Type Description
FhirStoreSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FhirStoreSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FhirStoreSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setFhirStore(String value)

public 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) = { ... }

Parameter
Name Description
value String

The fhirStore to set.

Returns
Type Description
FhirStoreSource.Builder

This builder for chaining.

setFhirStoreBytes(ByteString value)

public FhirStoreSource.Builder setFhirStoreBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for fhirStore to set.

Returns
Type Description
FhirStoreSource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FhirStoreSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FhirStoreSource.Builder
Overrides

setGcsStagingDir(String value)

public 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;

Parameter
Name Description
value String

The gcsStagingDir to set.

Returns
Type Description
FhirStoreSource.Builder

This builder for chaining.

setGcsStagingDirBytes(ByteString value)

public FhirStoreSource.Builder setGcsStagingDirBytes(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;

Parameter
Name Description
value ByteString

The bytes for gcsStagingDir to set.

Returns
Type Description
FhirStoreSource.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FhirStoreSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FhirStoreSource.Builder
Overrides

setResourceTypes(int index, String value)

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. Default to all supported FHIR resource types if empty.

repeated string resource_types = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The resourceTypes to set.

Returns
Type Description
FhirStoreSource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FhirStoreSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FhirStoreSource.Builder
Overrides