Searched refs:_to_proto (Results 1 – 6 of 6) sorted by relevance
40 def _to_proto(cls, obj): member in AutoShardPolicy80 def _to_proto(cls, obj): member in ExternalStatePolicy146 def _to_proto(self): member in DistributeOptions148 …pb.auto_shard_policy = AutoShardPolicy._to_proto(self.auto_shard_policy) # pylint: disable=protec…
73 def _to_proto(self): member in MapVectorizationOptions348 def _to_proto(self): member in OptimizationOptions375 …pb.map_vectorization.CopyFrom(self.map_vectorization._to_proto()) # pylint: disable=protected-acc…
53 def _to_proto(self): member in ThreadingOptions
163 pb = options._to_proto()171 pb = options._to_proto()181 result = options._to_proto()
62 def _to_proto(self): member in OptionsBase
3054 def _to_proto(self): member in Options3058 …pb.distribute_options.CopyFrom(self.experimental_distribute._to_proto()) # pylint: disable=protec…3061 distribute_options.ExternalStatePolicy._to_proto( # pylint: disable=protected-access3063 …pb.optimization_options.CopyFrom(self.experimental_optimization._to_proto()) # pylint: disable=pr…3066 …pb.threading_options.CopyFrom(self.experimental_threading._to_proto()) # pylint: disable=protecte…