Enum Class FhirIO.Import.ContentStructure
java.lang.Object
java.lang.Enum<FhirIO.Import.ContentStructure>
org.apache.beam.sdk.io.gcp.healthcare.FhirIO.Import.ContentStructure
- All Implemented Interfaces:
Serializable
,Comparable<FhirIO.Import.ContentStructure>
,Constable
- Enclosing class:
FhirIO.Import
The enum Content structure.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe source file contains one or more lines of newline-delimited JSON (ndjson).If the content structure is not specified, the default value BUNDLE will be used.The source file contains one or more lines of newline-delimited JSON (ndjson). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static FhirIO.Import.ContentStructure[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTENT_STRUCTURE_UNSPECIFIED
If the content structure is not specified, the default value BUNDLE will be used. -
BUNDLE
The source file contains one or more lines of newline-delimited JSON (ndjson). Each line is a bundle, which contains one or more resources. Set the bundle type to history to import resource versions. -
RESOURCE
The source file contains one or more lines of newline-delimited JSON (ndjson). Each line is a single resource.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-