public class MockGoogleProtoClient extends AbstractGoogleProtoClientBeta
Thread-safe mock Google protocol buffer client.
Inheritance
java.lang.Object > AbstractGoogleClient > AbstractGoogleProtoClient > MockGoogleProtoClientConstructors
MockGoogleProtoClient(MockGoogleProtoClient.Builder builder)
protected MockGoogleProtoClient(MockGoogleProtoClient.Builder builder)| Parameter | |
|---|---|
| Name | Description |
builder |
MockGoogleProtoClient.Builderbuilder |
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.HttpTransportHTTP transport |
rootUrl |
Stringroot URL of the service |
servicePath |
Stringservice path |
httpRequestInitializer |
com.google.api.client.http.HttpRequestInitializerHTTP request initializer or |