package Ġorg . vit riv r . cott ont ail . utilities . extensions Ċ Ċ import Ġorg . vit riv r . cott ont ail . core . values .* Ċ import Ġorg . vit riv r . cott ont ail . core . values . types . Types Ċ import Ġorg . vit riv r . cott ont ail . core . values . types . Value Ċ import Ġorg . vit riv r . cott ont ail . grpc . C ott ont ail Grpc Ċ import Ġjava . util .* Ċ Ċ /** Ċ Ġ* ĠConverts Ġthis Ġ[ Value ] Ġto Ġthe Ġcorresponding Ġ[ C ott ont ail Grpc . Literal ] Ġobject Ġand Ġreturns Ġit . Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ C ott ont ail Grpc . Literal ] Ċ Ġ*/ Ċ fun ĠValue . to Literal (): ĠC ott ont ail Grpc . Literal Ġ= Ġwhen Ġ( this ) Ġ{ ĊĠĠĠ Ġis ĠString Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). setString Data ( this . value ). build () ĊĠĠĠ Ġis ĠLong Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). set Long Data ( this . value ). build () ĊĠĠĠ Ġis ĠInt Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). setInt Data ( this . value ). build () ĊĠĠĠ Ġis ĠShort Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). setInt Data ( this . value . toInt ()). build () ĊĠĠĠ Ġis ĠByte Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). setInt Data ( this . value . toInt ()). build () ĊĠĠĠ Ġis ĠDouble Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). set Double Data ( this . value ). build () ĊĠĠĠ Ġis ĠFloat Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). set Float Data ( this . value ). build () ĊĠĠĠ Ġis ĠBoolean Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). set Boolean Data ( this . value ). build () ĊĠĠĠ Ġis ĠDate Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). setDate Data ( C ott ont ail Grpc . Date . newBuilder (). set Utc Timestamp ( this . value )). build () ĊĠĠĠ Ġis ĠComplex 3 2 Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). set Complex 3 2 Data ( C ott ont ail Grpc . Complex 3 2 . newBuilder (). set Real ( this . real . value ). set Imag inary ( this . imag inary . value )). build () ĊĠĠĠ Ġis ĠComplex 6 4 Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). set Complex 6 4 Data ( C ott ont ail Grpc . Complex 6 4 . newBuilder (). set Real ( this . real . value ). set Imag inary ( this . imag inary . value )). build () ĊĠĠĠ Ġis ĠDouble Vector Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). set Vector Data ( C ott ont ail Grpc . Vector . newBuilder (). set Double Vector ( C ott ont ail Grpc . Double Vector . newBuilder (). addAll Vector ( this . map Ġ{ Ġit . value Ġ})) ). build () ĊĠĠĠ Ġis ĠFloat Vector Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). set Vector Data ( C ott ont ail Grpc . Vector . newBuilder (). set Float Vector ( C ott ont ail Grpc . Float Vector . newBuilder (). addAll Vector ( this . map Ġ{ Ġit . value Ġ})) ). build () ĊĠĠĠ Ġis ĠLong Vector Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). set Vector Data ( C ott ont ail Grpc . Vector . newBuilder (). set Long Vector ( C ott ont ail Grpc . Long Vector . newBuilder (). addAll Vector ( this . map Ġ{ Ġit . value Ġ})) ). build () ĊĠĠĠ Ġis ĠInt Vector Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). set Vector Data ( C ott ont ail Grpc . Vector . newBuilder (). setInt Vector ( C ott ont ail Grpc . Int Vector . newBuilder (). addAll Vector ( this . map Ġ{ Ġit . value Ġ})) ). build () ĊĠĠĠ Ġis ĠBoolean Vector Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). set Vector Data ( C ott ont ail Grpc . Vector . newBuilder (). set Bool Vector ( C ott ont ail Grpc . Bool Vector . newBuilder (). addAll Vector ( this . indices . map Ġ{ Ġthis . getAs Bool ( it ) Ġ})) ). build () ĊĠĠĠ Ġis ĠComplex 3 2 Vector Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). set Vector Data ( ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . newBuilder (). set Complex 3 2 Vector ( C ott ont ail Grpc . Complex 3 2 Vector . newBuilder (). addAll Vector ( this . map Ġ{ ĠC ott ont ail Grpc . Complex 3 2 . newBuilder (). set Real ( it . real . value ). set Imag inary ( it . imag inary . value ). build () Ġ})) ĊĠĠĠ Ġ). build () ĊĠĠĠ Ġis ĠComplex 6 4 Vector Value Ġ-> ĠC ott ont ail Grpc . Literal . newBuilder (). set Vector Data ( ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . newBuilder (). set Complex 6 4 Vector ( C ott ont ail Grpc . Complex 6 4 Vector . newBuilder (). addAll Vector ( this . map Ġ{ ĠC ott ont ail Grpc . Complex 6 4 . newBuilder (). set Real ( it . real . value ). set Imag inary ( it . imag inary . value ). build () Ġ})) ĊĠĠĠ Ġ). build () ĊĠĠĠ Ġelse Ġ-> Ġthrow ĠIllegalArgumentException (" The Ġspecified Ġvalue Ġcannot Ġbe Ġconverted Ġto Ġa ĠgRPC ĠData Ġobject .") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Value ] Ġof Ġthe Ġgiven Ġ[ Types ]. ĠPerforms Ċ Ġ* Ġconversion Ġif Ġnecessary . Ċ Ġ* Ċ Ġ* Ġ@ param Ġtype ĠThe Ġdesired Ġ[ Types ]. Ċ Ġ* Ġ@ return Ġ[ Value ] Ġor Ġnull Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . to Value ( type : ĠTypes < *> ): ĠValue Ġ= Ġwhen Ġ( type ) Ġ{ ĊĠĠĠ Ġis ĠTypes . Double Ġ-> Ġthis . toDouble Value () ĊĠĠĠ Ġis ĠTypes . Float Ġ-> Ġthis . toFloat Value () ĊĠĠĠ Ġis ĠTypes . Boolean Ġ-> Ġthis . to Boolean Value () ĊĠĠĠ Ġis ĠTypes . Byte Ġ-> Ġthis . to Byte Value () ĊĠĠĠ Ġis ĠTypes . Short Ġ-> Ġthis . to Short Value () ĊĠĠĠ Ġis ĠTypes . Int Ġ-> Ġthis . toInt Value () ĊĠĠĠ Ġis ĠTypes . Long Ġ-> Ġthis . to Long Value () ĊĠĠĠ Ġis ĠTypes . Date Ġ-> Ġthis . toDate Value () ĊĠĠĠ Ġis ĠTypes . String Ġ-> Ġthis . toString Value () ĊĠĠĠ Ġis ĠTypes . Complex 3 2 Ġ-> Ġthis . to Complex 3 2 Value () ĊĠĠĠ Ġis ĠTypes . Complex 6 4 Ġ-> Ġthis . to Complex 6 4 Value () ĊĠĠĠ Ġis ĠTypes . Int Vector Ġ-> Ġthis . toInt Vector Value () ĊĠĠĠ Ġis ĠTypes . Long Vector Ġ-> Ġthis . to Long Vector Value () ĊĠĠĠ Ġis ĠTypes . Float Vector Ġ-> Ġthis . toFloat Vector Value () ĊĠĠĠ Ġis ĠTypes . Double Vector Ġ-> Ġthis . toDouble Vector Value () ĊĠĠĠ Ġis ĠTypes . Boolean Vector Ġ-> Ġthis . to Boolean Vector Value () ĊĠĠĠ Ġis ĠTypes . Complex 3 2 Vector Ġ-> Ġthis . to Complex 3 2 Vector Value () ĊĠĠĠ Ġis ĠTypes . Complex 6 4 Vector Ġ-> Ġthis . to Complex 6 4 Vector Value () Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Value ] Ġor Ġnull Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . to Value (): ĠValue Ġ= Ġwhen ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠBoolean Value ( this . boolean Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠInt Value ( this . int Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠLong Value ( this . long Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠFloat Value ( this . float Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠDouble Value ( this . double Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠString Value ( this . string Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠDate Value ( this . date Data . utc Timestamp ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> ĠComplex 3 2 Value ( this . complex 3 2 Data . real , Ġthis . complex 3 2 Data . imag inary ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> ĠComplex 6 4 Value ( this . complex 6 4 Data . real , Ġthis . complex 6 4 Data . imag inary ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġwhen ( this . vector Data . vector Data Case ) Ġ{ ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . DOUBLE VECTOR Ġ-> ĠDouble Vector Value ( this . vector Data . double Vector . vector List . to Typed Array ()) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . FLOAT VECTOR Ġ-> ĠFloat Vector Value ( this . vector Data . float Vector . vector List . to Typed Array ()) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . LONG VECTOR Ġ-> ĠLong Vector Value ( this . vector Data . long Vector . vector List . to Typed Array ()) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . INT VECTOR Ġ-> ĠInt Vector Value ( this . vector Data . int Vector . vector List . to Typed Array ()) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . BOOL VECTOR Ġ-> ĠBoolean Vector Value ( this . vector Data . bool Vector . vector List . to Typed Array ()) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 3 2 VECTOR Ġ-> ĠComplex 3 2 Vector Value ( Array ( this . vector Data . complex 3 2 Vector . vector List . size ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠComplex 3 2 Value ( Float Value ( this . vector Data . complex 3 2 Vector . vector List [ it ]. real ), ĠFloat Value ( this . vector Data . complex 3 2 Vector . vector List [ it ]. imag inary )) ĊĠĠĠĠĠĠĠ Ġ}) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 6 4 VECTOR Ġ-> ĠComplex 6 4 Vector Value ( Array ( this . vector Data . complex 6 4 Vector . vector List . size ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠComplex 3 2 Value ( Float Value ( this . vector Data . complex 6 4 Vector . vector List [ it ]. real ), ĠFloat Value ( this . vector Data . complex 6 4 Vector . vector List [ it ]. imag inary )) ĊĠĠĠĠĠĠĠ Ġ}) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . VECT ORD ATA _ NOT _ SET , ĊĠĠĠĠĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR .") ĊĠĠĠ Ġ} ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠVALUE .") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġ[ Types ] Ġof Ġa Ġ[ C ott ont ail Grpc . Literal ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Types ] Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . to Type (): ĠTypes < *> Ġ= Ġwhen ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠTypes . Boolean ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠTypes . Int ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠTypes . Long ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠTypes . Float ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠTypes . Double ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠTypes . String ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠTypes . Date ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> ĠTypes . Complex 3 2 ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> ĠTypes . Complex 6 4 ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġwhen ( this . vector Data . vector Data Case ) Ġ{ ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . DOUBLE VECTOR Ġ-> ĠTypes . Double Vector ( this . vector Data . double Vector . vector Count ) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . FLOAT VECTOR Ġ-> ĠTypes . Float Vector ( this . vector Data . float Vector . vector Count ) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . LONG VECTOR Ġ-> ĠTypes . Long Vector ( this . vector Data . long Vector . vector Count ) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . INT VECTOR Ġ-> ĠTypes . Int Vector ( this . vector Data . int Vector . vector Count ) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . BOOL VECTOR Ġ-> ĠTypes . Boolean Vector ( this . vector Data . bool Vector . vector Count ) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 3 2 VECTOR Ġ-> ĠTypes . Complex 3 2 Vector ( this . vector Data . complex 3 2 Vector . vector Count ) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 6 4 VECTOR Ġ-> ĠTypes . Complex 6 4 Vector ( this . vector Data . complex 6 4 Vector . vector Count ) ĊĠĠĠĠĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . VECT ORD ATA _ NOT _ SET , ĊĠĠĠĠĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR .") ĊĠĠĠ Ġ} ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠVALUE .") Ċ } Ċ Ċ /** Ċ Ġ* ĠConverts Ġa Ġ[ Types ] Ġto Ġthe Ġ[ C ott ont ail Grpc . Type ] Ġequivalent . Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ C ott ont ail Grpc . Type ] Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Type . to Type ( size : ĠInt Ġ= Ġ 0 ): ĠTypes < *> Ġ= Ġwhen ( this ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Type . BOOLEAN Ġ-> ĠTypes . Boolean ĊĠĠĠ ĠC ott ont ail Grpc . Type . BYTE Ġ-> ĠTypes . Byte ĊĠĠĠ ĠC ott ont ail Grpc . Type . SHORT Ġ-> ĠTypes . Short ĊĠĠĠ ĠC ott ont ail Grpc . Type . INTEGER Ġ-> ĠTypes . Int ĊĠĠĠ ĠC ott ont ail Grpc . Type . LONG Ġ-> ĠTypes . Long ĊĠĠĠ ĠC ott ont ail Grpc . Type . FLOAT Ġ-> ĠTypes . Float ĊĠĠĠ ĠC ott ont ail Grpc . Type . DOUBLE Ġ-> ĠTypes . Double ĊĠĠĠ ĠC ott ont ail Grpc . Type . DATE Ġ-> ĠTypes . Date ĊĠĠĠ ĠC ott ont ail Grpc . Type . STRING Ġ-> ĠTypes . String ĊĠĠĠ ĠC ott ont ail Grpc . Type . COMPLEX 3 2 Ġ-> ĠTypes . Complex 3 2 ĊĠĠĠ ĠC ott ont ail Grpc . Type . COMPLEX 6 4 Ġ-> ĠTypes . Complex 6 4 ĊĠĠĠ ĠC ott ont ail Grpc . Type . DOUBLE _ VEC Ġ-> ĠTypes . Double Vector ( size ) ĊĠĠĠ ĠC ott ont ail Grpc . Type . FLOAT _ VEC Ġ-> ĠTypes . Float Vector ( size ) ĊĠĠĠ ĠC ott ont ail Grpc . Type . LONG _ VEC Ġ-> ĠTypes . Long Vector ( size ) ĊĠĠĠ ĠC ott ont ail Grpc . Type . INT _ VEC Ġ-> ĠTypes . Int Vector ( size ) ĊĠĠĠ ĠC ott ont ail Grpc . Type . BOOL _ VEC Ġ-> ĠTypes . Boolean Vector ( size ) ĊĠĠĠ ĠC ott ont ail Grpc . Type . COMPLEX 3 2 _ VEC Ġ-> ĠTypes . Complex 3 2 Vector ( size ) ĊĠĠĠ ĠC ott ont ail Grpc . Type . COMPLEX 6 4 _ VEC Ġ-> ĠTypes . Complex 6 4 Vector ( size ) ĊĠĠĠ Ġelse Ġ-> Ġthrow ĠIllegalArgumentException (" g RPC Ġtype Ġ$ this Ġis Ġunsupported Ġand Ġcannot Ġbe Ġconverted Ġto ĠC ott ont ail ĠDB Ġequivalent .") Ċ } Ċ Ċ /** Ċ Ġ* ĠConverts Ġa Ġ[ Types ] Ġto Ġthe Ġ[ C ott ont ail Grpc . Type ] Ġequivalent . Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ C ott ont ail Grpc . Type ] Ċ Ġ*/ Ċ fun ĠTypes <* >. proto (): ĠC ott ont ail Grpc . Type Ġ= Ġwhen ( this ) Ġ{ ĊĠĠĠ ĠTypes . Boolean Ġ-> ĠC ott ont ail Grpc . Type . BOOLEAN ĊĠĠĠ ĠTypes . Byte Ġ-> ĠC ott ont ail Grpc . Type . BYTE ĊĠĠĠ ĠTypes . Complex 3 2 Ġ-> ĠC ott ont ail Grpc . Type . COMPLEX 6 4 ĊĠĠĠ ĠTypes . Complex 6 4 Ġ-> ĠC ott ont ail Grpc . Type . COMPLEX 3 2 ĊĠĠĠ ĠTypes . Date Ġ-> ĠC ott ont ail Grpc . Type . DATE ĊĠĠĠ ĠTypes . Double Ġ-> ĠC ott ont ail Grpc . Type . DOUBLE ĊĠĠĠ ĠTypes . Float Ġ-> ĠC ott ont ail Grpc . Type . FLOAT ĊĠĠĠ ĠTypes . Int Ġ-> ĠC ott ont ail Grpc . Type . INTEGER ĊĠĠĠ ĠTypes . Long Ġ-> ĠC ott ont ail Grpc . Type . LONG ĊĠĠĠ ĠTypes . Short Ġ-> ĠC ott ont ail Grpc . Type . SHORT ĊĠĠĠ ĠTypes . String Ġ-> ĠC ott ont ail Grpc . Type . STRING ĊĠĠĠ Ġis ĠTypes . Boolean Vector Ġ-> ĠC ott ont ail Grpc . Type . BOOL _ VEC ĊĠĠĠ Ġis ĠTypes . Int Vector Ġ-> ĠC ott ont ail Grpc . Type . INT _ VEC ĊĠĠĠ Ġis ĠTypes . Long Vector Ġ-> ĠC ott ont ail Grpc . Type . LONG _ VEC ĊĠĠĠ Ġis ĠTypes . Float Vector Ġ-> ĠC ott ont ail Grpc . Type . FLOAT _ VEC ĊĠĠĠ Ġis ĠTypes . Double Vector Ġ-> ĠC ott ont ail Grpc . Type . DOUBLE _ VEC ĊĠĠĠ Ġis ĠTypes . Complex 3 2 Vector Ġ-> ĠC ott ont ail Grpc . Type . COMPLEX 3 2 _ VEC ĊĠĠĠ Ġis ĠTypes . Complex 6 4 Vector Ġ-> ĠC ott ont ail Grpc . Type . COMPLEX 6 4 _ VEC Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas ĠString . Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ StringValue ] Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . toString Value (): ĠString Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠString Value ( this . boolean Data . toString ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠString Value ( this . int Data . toString ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠString Value ( this . long Data . toString ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠString Value ( this . float Data . toString ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠString Value ( this . double Data . toString ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠString Value ( this . string Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠString Value ( Date ( this . date Data . utc Timestamp ). toString ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> ĠString Value ("${ this . complex 3 2 Data . real } + i * ${ this . complex 3 2 Data . imag inary }") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> ĠString Value ("${ this . complex 6 4 Data . real } + i * ${ this . complex 6 4 Data . imag inary }") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠV ECT OR Ġcannot Ġbe Ġcast Ġto ĠSTRING .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠSTRING .") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Date Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Date Value ] Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . toDate Value (): ĠDate Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠDate Value ( this . boolean Data . to Long ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠDate Value ( this . int Data . to Long ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠDate Value ( this . int Data . to Long ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠDate Value ( this . int Data . to Long ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠDate Value ( this . int Data . to Long ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠDate Value ( this . int Data . to Long ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠDate Value ( this . date Data . utc Timestamp ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠCOMP LEX 3 2 Ġcannot Ġbe Ġcast Ġto ĠDATE .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠCOMP LEX 6 4 Ġcannot Ġbe Ġcast Ġto ĠDATE .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠV ECT OR Ġcannot Ġbe Ġcast Ġto ĠDATE .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠSTRING .") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas ĠBoolean . Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Boolean Value ] Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . to Boolean Value (): ĠBoolean Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠBoolean Value ( this . boolean Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠINT Ġcannot Ġbe Ġcast Ġto ĠBOOLEAN .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠLONG Ġcannot Ġbe Ġcast Ġto ĠBOOLEAN .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠFLOAT Ġcannot Ġbe Ġcast Ġto ĠBOOLEAN .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠDOUBLE Ġcannot Ġbe Ġcast Ġto ĠBOOLEAN .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 3 2 Ġcannot Ġbe Ġcast Ġto ĠBOOLEAN .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 6 4 Ġcannot Ġbe Ġcast Ġto ĠBOOLEAN .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠSTRING Ġcannot Ġbe Ġcast Ġto ĠBOOLEAN .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠDATE Ġcannot Ġbe Ġcast Ġto ĠBOOLEAN .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR Ġcannot Ġbe Ġcast Ġto ĠBOOLEAN .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠBOOLEAN .") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas ĠDouble . Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Double Value ] Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . toDouble Value (): ĠDouble Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠDouble Value ( this . boolean Data . toDouble ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠDouble Value ( this . int Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠDouble Value ( this . long Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠDouble Value ( this . float Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠDouble Value ( this . double Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠDouble Value ( this . date Data . utc Timestamp ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠDouble Value ( ĊĠĠĠĠĠĠĠ Ġthis . string Data . toDouble OrNull () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ?: Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠSTRING Ġ( v =' ${ this . string Data }') Ġcannot Ġbe Ġcast Ġto ĠDOUBLE .") ĊĠĠĠ Ġ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 3 2 Ġcannot Ġbe Ġcast Ġto ĠDOUBLE .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 6 4 Ġcannot Ġbe Ġcast Ġto ĠDOUBLE .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR Ġcannot Ġbe Ġcast Ġto ĠDOUBLE .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠDOUBLE .") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas ĠFloat . Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Float Value ] Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . toFloat Value (): ĠFloat Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠFloat Value ( this . boolean Data . toFloat ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠFloat Value ( this . int Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠFloat Value ( this . long Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠFloat Value ( this . float Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠFloat Value ( this . double Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠFloat Value ( this . date Data . utc Timestamp ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠFloat Value ( ĊĠĠĠĠĠĠĠ Ġthis . string Data . toFloat OrNull () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ?: Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠSTRING Ġ( v =' ${ this . string Data }') Ġcannot Ġbe Ġcast Ġto ĠFLOAT .") ĊĠĠĠ Ġ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 3 2 Ġcannot Ġbe Ġcast Ġto ĠFLOAT .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 6 4 Ġcannot Ġbe Ġcast Ġto ĠFLOAT .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR Ġcannot Ġbe Ġcast Ġto ĠFLOAT .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠFLOAT .") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas ĠInt . Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Short Value ] Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . to Short Value (): ĠShort Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠShort Value ( this . boolean Data . to Short ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠShort Value ( this . int Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠShort Value ( this . long Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠShort Value ( this . float Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠShort Value ( this . double Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠShort Value ( this . date Data . utc Timestamp ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠShort Value ( ĊĠĠĠĠĠĠĠ Ġthis . string Data . to Short OrNull () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ?: Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠSTRING Ġ( v =' ${ this . string Data }') Ġcannot Ġbe Ġcast Ġto ĠSH ORT .") ĊĠĠĠ Ġ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 3 2 Ġcannot Ġbe Ġcast Ġto ĠSH ORT .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 6 4 Ġcannot Ġbe Ġcast Ġto ĠSH ORT .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR Ġcannot Ġbe Ġcast Ġto ĠSH ORT .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠSH ORT .") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas ĠInt . Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Byte Value ] Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . to Byte Value (): ĠByte Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠByte Value ( this . boolean Data . to Byte ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠByte Value ( this . int Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠByte Value ( this . long Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠByte Value ( this . float Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠByte Value ( this . double Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠByte Value ( this . date Data . utc Timestamp . to Byte ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠByte Value ( ĊĠĠĠĠĠĠĠ Ġthis . string Data . to Byte OrNull () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ?: Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠSTRING Ġ( v =' ${ this . string Data }') Ġcannot Ġbe Ġcast Ġto ĠBYTE .") ĊĠĠĠ Ġ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 3 2 Ġcannot Ġbe Ġcast Ġto ĠBYTE .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 6 4 Ġcannot Ġbe Ġcast Ġto ĠBYTE .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR Ġcannot Ġbe Ġcast Ġto ĠBYTE .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠBYTE .") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Int Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Int Value ] Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . toInt Value (): ĠInt Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠInt Value ( this . boolean Data . toInt ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠInt Value ( this . int Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠInt Value ( this . long Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠInt Value ( this . float Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠInt Value ( this . double Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠInt Value ( this . date Data . utc Timestamp ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠInt Value ( ĊĠĠĠĠĠĠĠ Ġthis . string Data . toInt OrNull () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ?: Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠSTRING Ġ( v =' ${ this . string Data }') Ġcannot Ġbe Ġcast Ġto ĠINT .") ĊĠĠĠ Ġ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 3 2 Ġcannot Ġbe Ġcast Ġto ĠINT .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 6 4 Ġcannot Ġbe Ġcast Ġto ĠINT .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR Ġcannot Ġbe Ġcast Ġto ĠINT .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠINT .") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Long Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Long Value ] Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . to Long Value (): ĠLong Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠLong Value ( this . boolean Data . to Long ()) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠLong Value ( this . int Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠLong Value ( this . long Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠLong Value ( this . float Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠLong Value ( this . double Data ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠLong Value ( this . date Data . utc Timestamp ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠLong Value ( ĊĠĠĠĠĠĠĠ Ġthis . string Data . to Long OrNull () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ?: Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠSTRING Ġ( v =' ${ this . string Data }') Ġcannot Ġbe Ġcast Ġto ĠLONG .") ĊĠĠĠ Ġ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 3 2 Ġcannot Ġbe Ġcast Ġto ĠLONG .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 6 4 Ġcannot Ġbe Ġcast Ġto ĠLONG .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR Ġcannot Ġbe Ġcast Ġto ĠLONG .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠLONG .") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Complex 3 2 Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Complex 3 2 Value ] Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . to Complex 3 2 Value (): ĠComplex 3 2 Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠBOOLEAN Ġcannot Ġbe Ġcast Ġto ĠCOMP LEX 3 2 .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠComplex 3 2 Value ( this . int Data , Ġ 0 . 0 f ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠComplex 3 2 Value ( this . long Data , Ġ 0 . 0 f ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠComplex 3 2 Value ( this . float Data , Ġ 0 . 0 f ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠComplex 3 2 Value ( this . double Data , Ġ 0 . 0 f ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠDATE Ġcannot Ġbe Ġcast Ġto ĠCOMP LEX 3 2 .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠSTRING Ġcannot Ġbe Ġcast Ġto ĠCOMP LEX 3 2 .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> ĠComplex 3 2 Value ( this . complex 3 2 Data . real , Ġthis . complex 3 2 Data . imag inary ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> ĠComplex 3 2 Value ( this . complex 6 4 Data . real , Ġthis . complex 6 4 Data . imag inary ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR Ġcannot Ġbe Ġcast Ġto ĠCOMP LEX 3 2 .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠCOMP LEX 3 2 .") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Complex 6 4 Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Complex 6 4 Value ] Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . to Complex 6 4 Value (): ĠComplex 6 4 Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠBOOLEAN Ġcannot Ġbe Ġcast Ġto ĠCOMP LEX 6 4 .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠComplex 6 4 Value ( this . int Data , Ġ 0 . 0 ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠComplex 6 4 Value ( this . long Data , Ġ 0 . 0 ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠComplex 6 4 Value ( this . float Data , Ġ 0 . 0 ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠComplex 6 4 Value ( this . double Data , Ġ 0 . 0 ) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠDATE Ġcannot Ġbe Ġcast Ġto ĠCOMP LEX 3 2 .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠSTRING Ġcannot Ġbe Ġcast Ġto ĠCOMP LEX 6 4 .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> ĠComplex 6 4 Value ( double ArrayOf ( this . complex 3 2 Data . real . toDouble (), Ġthis . complex 3 2 Data . imag inary . toDouble ())) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> ĠComplex 6 4 Value ( double ArrayOf ( this . complex 6 4 Data . real , Ġthis . complex 6 4 Data . imag inary )) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR Ġcannot Ġbe Ġcast Ġto ĠCOMP LEX 6 4 .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠCOMP LEX 6 4 .") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Float Vector Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Float Vector Value ] Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . toFloat Vector Value (): ĠFloat Vector Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠFloat Vector Value ( Float Array ( 1 ) Ġ{ Ġthis . boolean Data . toFloat () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠFloat Vector Value ( Float Array ( 1 ) Ġ{ Ġthis . int Data . toFloat () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠFloat Vector Value ( Float Array ( 1 ) Ġ{ Ġthis . long Data . toFloat () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠFloat Vector Value ( Float Array ( 1 ) Ġ{ Ġthis . float Data Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠFloat Vector Value ( Float Array ( 1 ) Ġ{ Ġthis . double Data . toFloat () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠFloat Vector Value ( Float Array ( 1 ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . string Data . toFloat OrNull () Ġ?: Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠSTRING Ġ( v =' ${ this . string Data }') Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ FLOAT ]. ") ĊĠĠĠ Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠFloat Vector Value ( Float Array ( 1 ) Ġ{ Ġthis . date Data . utc Timestamp . toFloat () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthis . vector Data . toFloat Vector Value () ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 3 2 Ġcannot Ġbe Ġcast Ġto ĠV ECT OR .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 6 4 Ġcannot Ġbe Ġcast Ġto ĠV ECT OR .") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ FLOAT ]. ") Ċ } ĊĊ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Double Vector Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Double Vector Value ] Ġvalues Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . toDouble Vector Value (): ĠDouble Vector Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠDouble Vector Value ( Double Array ( 1 ) Ġ{ Ġthis . boolean Data . toDouble () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠDouble Vector Value ( Double Array ( 1 ) Ġ{ Ġthis . int Data . toDouble () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠDouble Vector Value ( Double Array ( 1 ) Ġ{ Ġthis . long Data . toDouble () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠDouble Vector Value ( Double Array ( 1 ) Ġ{ Ġthis . float Data . toDouble () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠDouble Vector Value ( Double Array ( 1 ) Ġ{ Ġthis . double Data Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠDouble Vector Value ( Double Array ( 1 ) Ġ{ Ġthis . date Data . utc Timestamp . toDouble () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠDouble Vector Value ( Double Array ( 1 ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . string Data . toDouble OrNull () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ?: Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠSTRING Ġ( v =' ${ this . string Data }') Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ DOUBLE ]. ") ĊĠĠĠ Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthis . vector Data . toDouble Vector Value () ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 3 2 Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ DOUBLE ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 6 4 Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ DOUBLE ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ DOUBLE ]. ") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Long Vector Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Long Vector Value ] Ġvalues Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . to Long Vector Value (): ĠLong Vector Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠLong Vector Value ( Long Array ( 1 ) Ġ{ Ġthis . boolean Data . to Long () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠLong Vector Value ( Long Array ( 1 ) Ġ{ Ġthis . int Data . to Long () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠLong Vector Value ( Long Array ( 1 ) Ġ{ Ġthis . long Data Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠLong Vector Value ( Long Array ( 1 ) Ġ{ Ġthis . float Data . to Long () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠLong Vector Value ( Long Array ( 1 ) Ġ{ Ġthis . double Data . to Long () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠLong Vector Value ( Long Array ( 1 ) Ġ{ Ġthis . date Data . utc Timestamp Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠLong Vector Value ( Long Array ( 1 ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . string Data . to Long OrNull () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ?: Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠSTRING Ġ( v =' ${ this . string Data }') Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ LONG ]. ") ĊĠĠĠ Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthis . vector Data . to Long Vector Value () ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 3 2 Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ LONG ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 6 4 Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ LONG ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ LONG ]. ") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Int Vector Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Int Vector Value ] Ġvalues Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . toInt Vector Value (): ĠInt Vector Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠInt Vector Value ( IntArray ( 1 ) Ġ{ Ġthis . boolean Data . toInt () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠInt Vector Value ( IntArray ( 1 ) Ġ{ Ġthis . int Data Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠInt Vector Value ( IntArray ( 1 ) Ġ{ Ġthis . long Data . toInt () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠInt Vector Value ( IntArray ( 1 ) Ġ{ Ġthis . float Data . toInt () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠInt Vector Value ( IntArray ( 1 ) Ġ{ Ġthis . double Data . toInt () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠInt Vector Value ( IntArray ( 1 ) Ġ{ Ġthis . date Data . utc Timestamp . toInt () Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠInt Vector Value ( IntArray ( 1 ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . string Data . toInt OrNull () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ?: Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof Ġtype ĠSTRING Ġ( v =' ${ this . string Data }') Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ INT ]. ") ĊĠĠĠ Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthis . vector Data . toInt Vector Value () ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 3 2 Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ INT ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 6 4 Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ INT ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ INT ]. ") Ċ } Ċ Ċ /** Ċ Ġ* Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Boolean Vector Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Boolean Vector Value ] Ġvalues Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . to Boolean Vector Value (): ĠBoolean Vector Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> ĠBoolean Vector Value ( Boolean Array ( 1 ) Ġ{ Ġthis . boolean Data Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠBoolean Vector Value ( Boolean Array ( 1 ) Ġ{ Ġthis . int Data Ġ> Ġ 0 Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠBoolean Vector Value ( Boolean Array ( 1 ) Ġ{ Ġthis . long Data Ġ> Ġ 0 Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠBoolean Vector Value ( Boolean Array ( 1 ) Ġ{ Ġthis . float Data Ġ> Ġ 0 f Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠBoolean Vector Value ( Boolean Array ( 1 ) Ġ{ Ġthis . double Data Ġ> Ġ 0 . 0 Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> ĠBoolean Vector Value ( Boolean Array ( 1 ) Ġ{ Ġthis . string Data Ġ== Ġ" true " Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> ĠBoolean Vector Value ( Boolean Array ( 1 ) Ġ{ Ġthis . date Data . utc Timestamp Ġ> Ġ 0 Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthis . vector Data . to Boolean Vector Value () ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 3 2 Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ BOOL ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠCOMP LEX 6 4 Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ BOOL ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ BOOL ]. ") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Complex 3 2 Vector Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Complex 3 2 Vector Value ] Ġvalues Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . to Complex 3 2 Vector Value (): ĠComplex 3 2 Vector Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠBOOL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ COMPLEX 3 2 ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠComplex 3 2 Vector Value ( array Of ( Complex 3 2 Value ( this . int Data ))) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠComplex 3 2 Vector Value ( array Of ( Complex 3 2 Value ( this . long Data ))) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠComplex 3 2 Vector Value ( array Of ( Complex 3 2 Value ( this . float Data ))) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠComplex 3 2 Vector Value ( array Of ( Complex 3 2 Value ( this . double Data ))) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠDATE Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ COMPLEX 3 2 ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠSTRING Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ COMPLEX 3 2 ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthis . vector Data . to Complex 3 2 Vector Value () ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> ĠComplex 3 2 Vector Value ( array Of ( Complex 3 2 Value ( Float Value ( this . complex 3 2 Data . real ), ĠFloat Value ( this . complex 3 2 Data . imag inary )))) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> ĠComplex 3 2 Vector Value ( array Of ( Complex 3 2 Value ( Float Value ( this . complex 6 4 Data . real . toFloat ()), ĠFloat Value ( this . complex 6 4 Data . imag inary . toFloat ())) )) Ġ// Ġcave ! Ġprecision ! ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ COMPLEX 3 2 ]. ") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Literal ] Ġas Ġ[ Complex 6 4 Vector Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Complex 6 4 Vector Value ] Ġvalues Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Literal . to Complex 6 4 Vector Value (): ĠComplex 6 4 Vector Value Ġ= Ġwhen Ġ( this . data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . BOO LE AND ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠBOOL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ COMPLEX 6 4 ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . INT DATA Ġ-> ĠComplex 6 4 Vector Value ( array Of ( Complex 6 4 Value ( this . int Data ))) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . LONG DATA Ġ-> ĠComplex 6 4 Vector Value ( array Of ( Complex 6 4 Value ( this . long Data ))) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . FLOAT DATA Ġ-> ĠComplex 6 4 Vector Value ( array Of ( Complex 6 4 Value ( this . float Data ))) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DOUBLE DATA Ġ-> ĠComplex 6 4 Vector Value ( array Of ( Complex 6 4 Value ( this . double Data ))) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . D ATED ATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠDATE Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ COMPLEX 6 4 ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . STRING DATA Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠSTRING Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ COMPLEX 6 4 ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . VECT ORD ATA Ġ-> Ġthis . vector Data . to Complex 6 4 Vector Value () ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 3 2 DATA Ġ-> ĠComplex 6 4 Vector Value ( array Of ( Complex 6 4 Value ( this . complex 3 2 Data . real , Ġthis . complex 3 2 Data . imag inary ))) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . COMPLEX 6 4 DATA Ġ-> ĠComplex 6 4 Vector Value ( array Of ( Complex 6 4 Value ( this . complex 6 4 Data . real , Ġthis . complex 6 4 Data . imag inary ))) ĊĠĠĠ ĠC ott ont ail Grpc . Literal . Data Case . DATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ COMPLEX 6 4 ]. ") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Vector ] Ġas Ġ[ Double Array ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Double Array ] Ġvalues Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Vector . toDouble Vector Value (): ĠDouble Vector Value Ġ= Ġwhen Ġ( this . vector Data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . DOUBLE VECTOR Ġ-> ĠDouble Vector Value ( this . double Vector . vector List . to Typed Array ()) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . FLOAT VECTOR Ġ-> ĠDouble Vector Value ( this . float Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . LONG VECTOR Ġ-> ĠDouble Vector Value ( this . long Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . INT VECTOR Ġ-> ĠDouble Vector Value ( this . int Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . BOOL VECTOR Ġ-> ĠDouble Vector Value ( this . bool Vector . vector List . map Ġ{ Ġif Ġ( it ) Ġ 1 . 0 Ġelse Ġ 0 . 0 Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 3 2 VECTOR Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR [ COMPLEX 3 2 ] Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ DOUBLE ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 6 4 VECTOR Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR [ COMPLEX 6 4 ] Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ DOUBLE ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . VECT ORD ATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ DOUBLE ]. ") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Vector ] Ġas Ġ[ Float Vector Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Float Vector Value ] Ġvalues Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Vector . toFloat Vector Value (): ĠFloat Vector Value Ġ= Ġwhen Ġ( this . vector Data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . DOUBLE VECTOR Ġ-> ĠFloat Vector Value ( this . double Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . FLOAT VECTOR Ġ-> ĠFloat Vector Value ( this . float Vector . vector List . to Typed Array ()) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . LONG VECTOR Ġ-> ĠFloat Vector Value ( this . long Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . INT VECTOR Ġ-> ĠFloat Vector Value ( this . int Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . BOOL VECTOR Ġ-> ĠFloat Vector Value ( this . bool Vector . vector List . map Ġ{ Ġif Ġ( it ) Ġ 1 . 0 f Ġelse Ġ 0 . 0 f Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 3 2 VECTOR Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR [ COMPLEX 3 2 ] Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ FLOAT ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 6 4 VECTOR Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR [ COMPLEX 6 4 ] Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ FLOAT ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . VECT ORD ATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ FLOAT ]. ") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Vector ] Ġas Ġ[ Long Vector Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Long Vector Value ] Ġvalues Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Vector . to Long Vector Value (): ĠLong Vector Value Ġ= Ġwhen Ġ( this . vector Data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . DOUBLE VECTOR Ġ-> ĠLong Vector Value ( this . double Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . FLOAT VECTOR Ġ-> ĠLong Vector Value ( this . float Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . LONG VECTOR Ġ-> ĠLong Vector Value ( this . long Vector . vector List . to Typed Array ()) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . INT VECTOR Ġ-> ĠLong Vector Value ( this . int Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . BOOL VECTOR Ġ-> ĠLong Vector Value ( this . bool Vector . vector List . map Ġ{ Ġif Ġ( it ) Ġ 1 L Ġelse Ġ 0 L Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 3 2 VECTOR Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR [ COMPLEX 3 2 ] Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ LONG ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 6 4 VECTOR Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR [ COMPLEX 6 4 ] Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ LONG ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . VECT ORD ATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ LONG ]. ") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Vector ] Ġas Ġ[ IntArray ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ IntArray ] Ġvalues Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Vector . toInt Vector Value (): ĠInt Vector Value Ġ= Ġwhen Ġ( this . vector Data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . DOUBLE VECTOR Ġ-> ĠInt Vector Value ( this . double Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . FLOAT VECTOR Ġ-> ĠInt Vector Value ( this . float Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . LONG VECTOR Ġ-> ĠInt Vector Value ( this . long Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . INT VECTOR Ġ-> ĠInt Vector Value ( this . int Vector . vector List . to Typed Array ()) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . BOOL VECTOR Ġ-> ĠInt Vector Value ( this . bool Vector . vector List . map Ġ{ Ġif Ġ( it ) Ġ 1 Ġelse Ġ 0 Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 3 2 VECTOR Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR [ COMPLEX 3 2 ] Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ INT ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 6 4 VECTOR Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR [ COMPLEX 6 4 ] Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ INT ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . VECT ORD ATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ INT ]. ") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Vector ] Ġas Ġ[ Bit Set ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Bit Set ] Ġvalues Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Vector . to Boolean Vector Value (): ĠBoolean Vector Value Ġ= Ġwhen Ġ( this . vector Data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . DOUBLE VECTOR Ġ-> ĠBoolean Vector Value ( this . double Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . FLOAT VECTOR Ġ-> ĠBoolean Vector Value ( this . float Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . LONG VECTOR Ġ-> ĠBoolean Vector Value ( this . long Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . INT VECTOR Ġ-> ĠBoolean Vector Value ( this . int Vector . vector List ) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . BOOL VECTOR Ġ-> ĠBoolean Vector Value ( this . bool Vector . vector List . to Typed Array ()) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 3 2 VECTOR Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR [ COMPLEX 3 2 ] Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ BOOL ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 6 4 VECTOR Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠV ECT OR [ COMPLEX 6 4 ] Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ BOOL ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . VECT ORD ATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ BOOL ]. ") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Vector ] Ġas Ġ[ Complex 3 2 Vector Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Complex 3 2 Vector Value ] Ġvalues Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Vector . to Complex 3 2 Vector Value (): ĠComplex 3 2 Vector Value Ġ= Ġwhen Ġ( this . vector Data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . DOUBLE VECTOR Ġ-> ĠComplex 3 2 Vector Value ( Array ( this . double Vector . vector List . size ) Ġ{ ĠComplex 3 2 Value ( this . double Vector . vector List [ it ], Ġ 0 . 0 f ) Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . FLOAT VECTOR Ġ-> ĠComplex 3 2 Vector Value ( Array ( this . float Vector . vector List . size ) Ġ{ ĠComplex 3 2 Value ( this . float Vector . vector List [ it ], Ġ 0 . 0 f ) Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . LONG VECTOR Ġ-> ĠComplex 3 2 Vector Value ( Array ( this . long Vector . vector List . size ) Ġ{ ĠComplex 3 2 Value ( this . long Vector . vector List [ it ], Ġ 0 . 0 f ) Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . INT VECTOR Ġ-> ĠComplex 3 2 Vector Value ( Array ( this . int Vector . vector List . size ) Ġ{ ĠComplex 3 2 Value ( this . int Vector . vector List [ it ], Ġ 0 . 0 f ) Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . BOOL VECTOR Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠBOOL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ COMPLEX 3 2 ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 3 2 VECTOR Ġ-> ĠComplex 3 2 Vector Value ( Array ( this . complex 3 2 Vector . vector List . size ) Ġ{ ĊĠĠĠĠĠĠĠ ĠComplex 3 2 Value ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠFloat Value ( this . complex 3 2 Vector . vector List [ it ]. real ), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠFloat Value ( this . complex 3 2 Vector . vector List [ it ]. imag inary ) ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 6 4 VECTOR Ġ-> ĠComplex 3 2 Vector Value ( Array ( this . complex 6 4 Vector . vector List . size ) Ġ{ ĊĠĠĠĠĠĠĠ ĠComplex 3 2 Value ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠFloat Value ( this . complex 6 4 Vector . vector List [ it ]. real ), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠFloat Value ( this . complex 6 4 Vector . vector List [ it ]. imag inary ) ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ}) Ġ// Ġcave at ! Ġprecision ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . VECT ORD ATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ COMPLEX 3 2 ]. ") Ċ } Ċ Ċ /** Ċ Ġ* ĠReturns Ġthe Ġvalue Ġof Ġ[ C ott ont ail Grpc . Vector ] Ġas Ġ[ Complex 6 4 Vector Value ]. Ċ Ġ* Ċ Ġ* Ġ@ return Ġ[ Complex 6 4 Vector Value ] Ġvalues Ċ Ġ* Ġ@ throws ĠIllegalArgumentException ĠIf Ġcast Ġis Ġnot Ġpossible . Ċ Ġ*/ Ċ fun ĠC ott ont ail Grpc . Vector . to Complex 6 4 Vector Value (): ĠComplex 6 4 Vector Value Ġ= Ġwhen Ġ( this . vector Data Case ) Ġ{ ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . DOUBLE VECTOR Ġ-> ĠComplex 6 4 Vector Value ( Array ( this . double Vector . vector List . size ) Ġ{ ĠComplex 6 4 Value ( this . double Vector . vector List [ it ], Ġ 0 . 0 ) Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . FLOAT VECTOR Ġ-> ĠComplex 6 4 Vector Value ( Array ( this . float Vector . vector List . size ) Ġ{ ĠComplex 6 4 Value ( this . float Vector . vector List [ it ], Ġ 0 . 0 ) Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . LONG VECTOR Ġ-> ĠComplex 6 4 Vector Value ( Array ( this . long Vector . vector List . size ) Ġ{ ĠComplex 6 4 Value ( this . long Vector . vector List [ it ], Ġ 0 . 0 ) Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . INT VECTOR Ġ-> ĠComplex 6 4 Vector Value ( Array ( this . int Vector . vector List . size ) Ġ{ ĠComplex 6 4 Value ( this . int Vector . vector List [ it ], Ġ 0 . 0 ) Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . BOOL VECTOR Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠBOOL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ COMPLEX 6 4 ]. ") ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 3 2 VECTOR Ġ-> ĠComplex 6 4 Vector Value ( Array ( this . complex 3 2 Vector . vector List . size ) Ġ{ ĠComplex 6 4 Value ( this . complex 3 2 Vector . vector List [ it ]. real , Ġthis . complex 3 2 Vector . vector List [ it ]. imag inary ) Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . COMPLEX 6 4 VECTOR Ġ-> ĠComplex 6 4 Vector Value ( Array ( this . complex 6 4 Vector . vector List . size ) Ġ{ ĠComplex 6 4 Value ( this . complex 6 4 Vector . vector List [ it ]. real , Ġthis . complex 6 4 Vector . vector List [ it ]. imag inary ) Ġ}) ĊĠĠĠ ĠC ott ont ail Grpc . Vector . Vector Data Case . VECT ORD ATA _ NOT _ SET , ĊĠĠĠ Ġnull Ġ-> Ġthrow ĠIllegalArgumentException (" A Ġvalue Ġof ĠNULL Ġcannot Ġbe Ġcast Ġto ĠV ECT OR [ COMPLEX 6 4 ]. ") Ċ }