Class TermsOfServiceAgreementStateServiceGrpc.TermsOfServiceAgreementStateServiceStub (1.0.0)

public static final class TermsOfServiceAgreementStateServiceGrpc.TermsOfServiceAgreementStateServiceStub extends AbstractAsyncStub<TermsOfServiceAgreementStateServiceGrpc.TermsOfServiceAgreementStateServiceStub>

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

Service to support TermsOfServiceAgreementState API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > TermsOfServiceAgreementStateServiceGrpc.TermsOfServiceAgreementStateServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

getTermsOfServiceAgreementState(GetTermsOfServiceAgreementStateRequest request, StreamObserver<TermsOfServiceAgreementState> responseObserver)

public void getTermsOfServiceAgreementState(GetTermsOfServiceAgreementStateRequest request, StreamObserver<TermsOfServiceAgreementState> responseObserver)

Returns the state of a terms of service agreement.

Parameters
Name Description
request GetTermsOfServiceAgreementStateRequest
responseObserver io.grpc.stub.StreamObserver<TermsOfServiceAgreementState>

retrieveForApplicationTermsOfServiceAgreementState(RetrieveForApplicationTermsOfServiceAgreementStateRequest request, StreamObserver<TermsOfServiceAgreementState> responseObserver)

public void retrieveForApplicationTermsOfServiceAgreementState(RetrieveForApplicationTermsOfServiceAgreementStateRequest request, StreamObserver<TermsOfServiceAgreementState> responseObserver)

Retrieves the state of the agreement for the application terms of service. Application terms of service covers permissions related to the usage of data provided through Merchant Center, CSS Center, Manufacturer Center, and more.

Parameters
Name Description
request RetrieveForApplicationTermsOfServiceAgreementStateRequest
responseObserver io.grpc.stub.StreamObserver<TermsOfServiceAgreementState>