public abstract class RemoteGrpcPortWrite
extends java.lang.Object
RunnerApi.PTransform
which represents a write from within an SDK harness to
a BeamFnApi.RemoteGrpcPort
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
URN |
Constructor and Description |
---|
RemoteGrpcPortWrite() |
Modifier and Type | Method and Description |
---|---|
static RemoteGrpcPortWrite |
fromPTransform(org.apache.beam.model.pipeline.v1.RunnerApi.PTransform pTransform) |
abstract org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPort |
getPort() |
org.apache.beam.model.pipeline.v1.RunnerApi.PTransform |
toPTransform() |
static RemoteGrpcPortWrite |
writeToPort(java.lang.String inputPCollectionId,
org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPort port)
Create a
RemoteGrpcPortWrite which writes the RunnerApi.PCollection with the provided
Pipeline id to the provided BeamFnApi.RemoteGrpcPort . |
public static final java.lang.String URN
public static RemoteGrpcPortWrite writeToPort(java.lang.String inputPCollectionId, org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPort port)
RemoteGrpcPortWrite
which writes the RunnerApi.PCollection
with the provided
Pipeline id to the provided BeamFnApi.RemoteGrpcPort
.public static RemoteGrpcPortWrite fromPTransform(org.apache.beam.model.pipeline.v1.RunnerApi.PTransform pTransform) throws org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.InvalidProtocolBufferException
org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.InvalidProtocolBufferException
public abstract org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPort getPort()
public org.apache.beam.model.pipeline.v1.RunnerApi.PTransform toPTransform()