Class RemoteGrpcPortRead


  • public abstract class RemoteGrpcPortRead
    extends java.lang.Object
    An execution-time only RunnerApi.PTransform which represents an SDK harness reading from a BeamFnApi.RemoteGrpcPort.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String URN  
    • Constructor Detail

      • RemoteGrpcPortRead

        public RemoteGrpcPortRead()
    • Method Detail

      • readFromPort

        public static RemoteGrpcPortRead readFromPort​(org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPort port,
                                                      java.lang.String outputPCollectionId)
      • fromPTransform

        public static RemoteGrpcPortRead fromPTransform​(org.apache.beam.model.pipeline.v1.RunnerApi.PTransform pTransform)
                                                 throws org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.InvalidProtocolBufferException
        Throws:
        org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.InvalidProtocolBufferException
      • toPTransform

        public org.apache.beam.model.pipeline.v1.RunnerApi.PTransform toPTransform()
      • getPort

        public abstract org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPort getPort()