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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonSchemaServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(SchemaServiceStubSettings settings)
public static final HttpJsonSchemaServiceStub create(SchemaServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
commitSchemaCallable()
public UnaryCallable<CommitSchemaRequest,Schema> commitSchemaCallable()
Overrides
createSchemaCallable()
public UnaryCallable<CreateSchemaRequest,Schema> createSchemaCallable()
Overrides
deleteSchemaCallable()
public UnaryCallable<DeleteSchemaRequest,Empty> deleteSchemaCallable()
Overrides
deleteSchemaRevisionCallable()
public UnaryCallable<DeleteSchemaRevisionRequest,Schema> deleteSchemaRevisionCallable()
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()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listSchemaRevisionsCallable()
public UnaryCallable<ListSchemaRevisionsRequest,ListSchemaRevisionsResponse> listSchemaRevisionsCallable()
Overrides
listSchemaRevisionsPagedCallable()
public UnaryCallable<ListSchemaRevisionsRequest,SchemaServiceClient.ListSchemaRevisionsPagedResponse> listSchemaRevisionsPagedCallable()
Overrides
listSchemasCallable()
public UnaryCallable<ListSchemasRequest,ListSchemasResponse> listSchemasCallable()
Overrides
listSchemasPagedCallable()
public UnaryCallable<ListSchemasRequest,SchemaServiceClient.ListSchemasPagedResponse> listSchemasPagedCallable()
Overrides
rollbackSchemaCallable()
public UnaryCallable<RollbackSchemaRequest,Schema> rollbackSchemaCallable()
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()
Overrides
validateSchemaCallable()
public UnaryCallable<ValidateSchemaRequest,ValidateSchemaResponse> validateSchemaCallable()
Overrides