Class DomainMappingsGrpc.DomainMappingsStub (2.54.0)

public static final class DomainMappingsGrpc.DomainMappingsStub extends AbstractAsyncStub<DomainMappingsGrpc.DomainMappingsStub>

A stub to allow clients to do asynchronous rpc calls to service DomainMappings.

Manages domains serving an application.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > DomainMappingsGrpc.DomainMappingsStub
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protected DomainMappingsGrpc.DomainMappingsStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
DomainMappingsGrpc.DomainMappingsStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createDomainMapping(CreateDomainMappingRequest request, StreamObserver<Operation> responseObserver)

public void createDomainMapping(CreateDomainMappingRequest request, StreamObserver<Operation> responseObserver)

Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.

Parameters
Name Description
request CreateDomainMappingRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteDomainMapping(DeleteDomainMappingRequest request, StreamObserver<Operation> responseObserver)

public void deleteDomainMapping(DeleteDomainMappingRequest request, StreamObserver<Operation> responseObserver)

Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.

Parameters
Name Description
request DeleteDomainMappingRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getDomainMapping(GetDomainMappingRequest request, StreamObserver<DomainMapping> responseObserver)

public void getDomainMapping(GetDomainMappingRequest request, StreamObserver<DomainMapping> responseObserver)

Gets the specified domain mapping.

Parameters
Name Description
request GetDomainMappingRequest
responseObserver io.grpc.stub.StreamObserver<DomainMapping>

listDomainMappings(ListDomainMappingsRequest request, StreamObserver<ListDomainMappingsResponse> responseObserver)

public void listDomainMappings(ListDomainMappingsRequest request, StreamObserver<ListDomainMappingsResponse> responseObserver)

Lists the domain mappings on an application.

Parameters
Name Description
request ListDomainMappingsRequest
responseObserver io.grpc.stub.StreamObserver<ListDomainMappingsResponse>

updateDomainMapping(UpdateDomainMappingRequest request, StreamObserver<Operation> responseObserver)

public void updateDomainMapping(UpdateDomainMappingRequest request, StreamObserver<Operation> responseObserver)

Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.

Parameters
Name Description
request UpdateDomainMappingRequest
responseObserver io.grpc.stub.StreamObserver<Operation>