public class HttpJsonSchemaServiceStub extends SchemaServiceStub
REST stub implementation for the SchemaService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonSchemaServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonSchemaServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(SchemaServiceStubSettings settings)
public static final HttpJsonSchemaServiceStub create(SchemaServiceStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonSchemaServiceStub(SchemaServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonSchemaServiceStub(SchemaServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonSchemaServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
HttpJsonSchemaServiceStub(SchemaServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonSchemaServiceStub(SchemaServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSchemaServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createSchemaCallable()
public UnaryCallable<CreateSchemaRequest,Schema> createSchemaCallable()
Returns
Overrides
deleteSchemaCallable()
public UnaryCallable<DeleteSchemaRequest,Empty> deleteSchemaCallable()
Returns
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
getSchemaCallable()
public UnaryCallable<GetSchemaRequest,Schema> getSchemaCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listSchemasCallable()
public UnaryCallable<ListSchemasRequest,ListSchemasResponse> listSchemasCallable()
Returns
Overrides
listSchemasPagedCallable()
public UnaryCallable<ListSchemasRequest,SchemaServiceClient.ListSchemasPagedResponse> listSchemasPagedCallable()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
Overrides
validateMessageCallable()
public UnaryCallable<ValidateMessageRequest,ValidateMessageResponse> validateMessageCallable()
Returns
Overrides
validateSchemaCallable()
public UnaryCallable<ValidateSchemaRequest,ValidateSchemaResponse> validateSchemaCallable()
Returns
Overrides