Class MockGoogleProtoClient (2.0.0)

public class MockGoogleProtoClient extends AbstractGoogleProtoClient

Beta
Thread-safe mock Google protocol buffer client.

Inheritance

java.lang.Object > AbstractGoogleClient > AbstractGoogleProtoClient > MockGoogleProtoClient

Constructors

MockGoogleProtoClient(MockGoogleProtoClient.Builder builder)

protected MockGoogleProtoClient(MockGoogleProtoClient.Builder builder)
Parameter
NameDescription
builderMockGoogleProtoClient.Builder

builder

MockGoogleProtoClient(HttpTransport transport, String rootUrl, String servicePath, HttpRequestInitializer httpRequestInitializer)

public MockGoogleProtoClient(HttpTransport transport, String rootUrl, String servicePath, HttpRequestInitializer httpRequestInitializer)
Parameters
NameDescription
transportcom.google.api.client.http.HttpTransport

HTTP transport

rootUrlString

root URL of the service

servicePathString

service path

httpRequestInitializercom.google.api.client.http.HttpRequestInitializer

HTTP request initializer or null for none