def to_runner_api(self, context): # type: (PipelineContext) -> beam_runner_api_pb2.TimerFamilySpec return beam_runner_api_pb2.TimerFamilySpec( time_domain=TimeDomain.to_runner_api(self.time_domain), timer_family_coder_id=context.coders.get_id( coders._TimerCoder(coders.StrUtf8Coder(), coders.GlobalWindowCoder())))
def to_runner_api(self, context): # type: (PipelineContext) -> beam_runner_api_pb2.TimerSpec return beam_runner_api_pb2.TimerSpec( time_domain=TimeDomain.to_runner_api(self.time_domain), timer_coder_id=context.coders.get_id( coders._TimerCoder(coders.SingletonCoder(None))))
def to_runner_api(self, context, key_coder, window_coder): return beam_runner_api_pb2.TimerFamilySpec( time_domain=TimeDomain.to_runner_api(self.time_domain), timer_family_coder_id=context.coders.get_id( coders._TimerCoder(key_coder, window_coder)))
def to_runner_api(self, context): return beam_runner_api_pb2.TimerSpec( time_domain=TimeDomain.to_runner_api(self.time_domain))
def to_runner_api(self, context): return beam_runner_api_pb2.TimerFamilySpec( time_domain=TimeDomain.to_runner_api(self.time_domain), timer_family_coder_id=context.coders.get_id( coders._TimerCoder(coders.SingletonCoder(None))))
def to_runner_api(self, context): return beam_runner_api_pb2.TimerSpec( time_domain=TimeDomain.to_runner_api(self.time_domain), timer_coder_id=context.coders.get_id( coders._TimerCoder(coders.SingletonCoder(None))))