Class FhirStoreSource (0.48.0)

public final class FhirStoreSource extends GeneratedMessageV3 implements FhirStoreSourceOrBuilder

Cloud FhirStore source import data from.

Protobuf type google.cloud.discoveryengine.v1.FhirStoreSource

Static Fields

FHIR_STORE_FIELD_NUMBER

public static final int FHIR_STORE_FIELD_NUMBER
Field Value
Type Description
int

GCS_STAGING_DIR_FIELD_NUMBER

public static final int GCS_STAGING_DIR_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TYPES_FIELD_NUMBER

public static final int RESOURCE_TYPES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FhirStoreSource getDefaultInstance()
Returns
Type Description
FhirStoreSource

getDescriptor()

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

newBuilder()

public static FhirStoreSource.Builder newBuilder()
Returns
Type Description
FhirStoreSource.Builder

newBuilder(FhirStoreSource prototype)

public static FhirStoreSource.Builder newBuilder(FhirStoreSource prototype)
Parameter
Name Description
prototype FhirStoreSource
Returns
Type Description
FhirStoreSource.Builder

parseDelimitedFrom(InputStream input)

public static FhirStoreSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FhirStoreSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FhirStoreSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FhirStoreSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FhirStoreSource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FhirStoreSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FhirStoreSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FhirStoreSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FhirStoreSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FhirStoreSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FhirStoreSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FhirStoreSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FhirStoreSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FhirStoreSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FhirStoreSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FhirStoreSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FhirStoreSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FhirStoreSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FhirStoreSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FhirStoreSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FhirStoreSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FhirStoreSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FhirStoreSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FhirStoreSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FhirStoreSource> parser()
Returns
Type Description
Parser<FhirStoreSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FhirStoreSource getDefaultInstanceForType()
Returns
Type Description
FhirStoreSource

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.

getParserForType()

public Parser<FhirStoreSource> getParserForType()
Returns
Type Description
Parser<FhirStoreSource>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FhirStoreSource.Builder newBuilderForType()
Returns
Type Description
FhirStoreSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FhirStoreSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FhirStoreSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FhirStoreSource.Builder toBuilder()
Returns
Type Description
FhirStoreSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException