Package codegen
Class MapperGrpc
- java.lang.Object
-
- codegen.MapperGrpc
-
@Generated(value="by gRPC proto compiler (version 1.57.2)", comments="Source: pulumi/codegen/mapper.proto") public final class MapperGrpc extends java.lang.ObjectMapper provides methods for retrieving mappings that describe how to map names in some source "provider" (e.g. a Terraform provider, if we are converting from Terraform) to names in appropriate Pulumi packages. So when converting a Terraform program containing code like `resource "aws_s3_bucket" "b" {}`, for instance, we need to know (among other things) that the `aws_s3_bucket` Terraform resource type corresponds to the Pulumi type `aws:s3/bucket:Bucket`, and thus lives in the `aws` package. This is the kind of information that a Mapper provides.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMapperGrpc.AsyncServiceMapper provides methods for retrieving mappings that describe how to map names in some source "provider" (e.g.static classMapperGrpc.MapperBlockingStubA stub to allow clients to do synchronous rpc calls to service Mapper.static classMapperGrpc.MapperFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service Mapper.static classMapperGrpc.MapperImplBaseBase class for the server implementation of the service Mapper.static classMapperGrpc.MapperStubA stub to allow clients to do asynchronous rpc calls to service Mapper.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(MapperGrpc.AsyncService service)static io.grpc.MethodDescriptor<MapperOuterClass.GetMappingRequest,MapperOuterClass.GetMappingResponse>getGetMappingMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static MapperGrpc.MapperBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic MapperGrpc.MapperFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic MapperGrpc.MapperStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getGetMappingMethod
public static io.grpc.MethodDescriptor<MapperOuterClass.GetMappingRequest,MapperOuterClass.GetMappingResponse> getGetMappingMethod()
-
newStub
public static MapperGrpc.MapperStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static MapperGrpc.MapperBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static MapperGrpc.MapperFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(MapperGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-