Class MockGoogleProtoClient (2.7.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
Name Description
builder MockGoogleProtoClient.Builder

builder

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

public MockGoogleProtoClient(HttpTransport transport, String rootUrl, String servicePath, HttpRequestInitializer httpRequestInitializer)
Parameters
Name Description
transport com.google.api.client.http.HttpTransport

HTTP transport

rootUrl String

root URL of the service

servicePath String

service path

httpRequestInitializer com.google.api.client.http.HttpRequestInitializer

HTTP request initializer or null for none