Class GrpcFeatureRegistryServiceStub (3.53.0)

public class GrpcFeatureRegistryServiceStub extends FeatureRegistryServiceStub

gRPC stub implementation for the FeatureRegistryService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > FeatureRegistryServiceStub > GrpcFeatureRegistryServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcFeatureRegistryServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcFeatureRegistryServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcFeatureRegistryServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcFeatureRegistryServiceStub
Exceptions
Type Description
IOException

create(FeatureRegistryServiceStubSettings settings)

public static final GrpcFeatureRegistryServiceStub create(FeatureRegistryServiceStubSettings settings)
Parameter
Name Description
settings FeatureRegistryServiceStubSettings
Returns
Type Description
GrpcFeatureRegistryServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcFeatureRegistryServiceStub(FeatureRegistryServiceStubSettings settings, ClientContext clientContext)

protected GrpcFeatureRegistryServiceStub(FeatureRegistryServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcFeatureRegistryServiceStub, 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
Name Description
settings FeatureRegistryServiceStubSettings
clientContext ClientContext

GrpcFeatureRegistryServiceStub(FeatureRegistryServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcFeatureRegistryServiceStub(FeatureRegistryServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcFeatureRegistryServiceStub, 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
Name Description
settings FeatureRegistryServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createFeatureCallable()

public UnaryCallable<CreateFeatureRequest,Operation> createFeatureCallable()
Returns
Type Description
UnaryCallable<CreateFeatureRequest,Operation>
Overrides

createFeatureGroupCallable()

public UnaryCallable<CreateFeatureGroupRequest,Operation> createFeatureGroupCallable()
Returns
Type Description
UnaryCallable<CreateFeatureGroupRequest,Operation>
Overrides

createFeatureGroupOperationCallable()

public OperationCallable<CreateFeatureGroupRequest,FeatureGroup,CreateFeatureGroupOperationMetadata> createFeatureGroupOperationCallable()
Returns
Type Description
OperationCallable<CreateFeatureGroupRequest,FeatureGroup,CreateFeatureGroupOperationMetadata>
Overrides

createFeatureOperationCallable()

public OperationCallable<CreateFeatureRequest,Feature,CreateFeatureOperationMetadata> createFeatureOperationCallable()
Returns
Type Description
OperationCallable<CreateFeatureRequest,Feature,CreateFeatureOperationMetadata>
Overrides

deleteFeatureCallable()

public UnaryCallable<DeleteFeatureRequest,Operation> deleteFeatureCallable()
Returns
Type Description
UnaryCallable<DeleteFeatureRequest,Operation>
Overrides

deleteFeatureGroupCallable()

public UnaryCallable<DeleteFeatureGroupRequest,Operation> deleteFeatureGroupCallable()
Returns
Type Description
UnaryCallable<DeleteFeatureGroupRequest,Operation>
Overrides

deleteFeatureGroupOperationCallable()

public OperationCallable<DeleteFeatureGroupRequest,Empty,DeleteOperationMetadata> deleteFeatureGroupOperationCallable()
Returns
Type Description
OperationCallable<DeleteFeatureGroupRequest,Empty,DeleteOperationMetadata>
Overrides

deleteFeatureOperationCallable()

public OperationCallable<DeleteFeatureRequest,Empty,DeleteOperationMetadata> deleteFeatureOperationCallable()
Returns
Type Description
OperationCallable<DeleteFeatureRequest,Empty,DeleteOperationMetadata>
Overrides

getFeatureCallable()

public UnaryCallable<GetFeatureRequest,Feature> getFeatureCallable()
Returns
Type Description
UnaryCallable<GetFeatureRequest,Feature>
Overrides

getFeatureGroupCallable()

public UnaryCallable<GetFeatureGroupRequest,FeatureGroup> getFeatureGroupCallable()
Returns
Type Description
UnaryCallable<GetFeatureGroupRequest,FeatureGroup>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listFeatureGroupsCallable()

public UnaryCallable<ListFeatureGroupsRequest,ListFeatureGroupsResponse> listFeatureGroupsCallable()
Returns
Type Description
UnaryCallable<ListFeatureGroupsRequest,ListFeatureGroupsResponse>
Overrides

listFeatureGroupsPagedCallable()

public UnaryCallable<ListFeatureGroupsRequest,FeatureRegistryServiceClient.ListFeatureGroupsPagedResponse> listFeatureGroupsPagedCallable()
Returns
Type Description
UnaryCallable<ListFeatureGroupsRequest,ListFeatureGroupsPagedResponse>
Overrides

listFeaturesCallable()

public UnaryCallable<ListFeaturesRequest,ListFeaturesResponse> listFeaturesCallable()
Returns
Type Description
UnaryCallable<ListFeaturesRequest,ListFeaturesResponse>
Overrides

listFeaturesPagedCallable()

public UnaryCallable<ListFeaturesRequest,FeatureRegistryServiceClient.ListFeaturesPagedResponse> listFeaturesPagedCallable()
Returns
Type Description
UnaryCallable<ListFeaturesRequest,ListFeaturesPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,FeatureRegistryServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void 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

updateFeatureCallable()

public UnaryCallable<UpdateFeatureRequest,Operation> updateFeatureCallable()
Returns
Type Description
UnaryCallable<UpdateFeatureRequest,Operation>
Overrides

updateFeatureGroupCallable()

public UnaryCallable<UpdateFeatureGroupRequest,Operation> updateFeatureGroupCallable()
Returns
Type Description
UnaryCallable<UpdateFeatureGroupRequest,Operation>
Overrides

updateFeatureGroupOperationCallable()

public OperationCallable<UpdateFeatureGroupRequest,FeatureGroup,UpdateFeatureGroupOperationMetadata> updateFeatureGroupOperationCallable()
Returns
Type Description
OperationCallable<UpdateFeatureGroupRequest,FeatureGroup,UpdateFeatureGroupOperationMetadata>
Overrides

updateFeatureOperationCallable()

public OperationCallable<UpdateFeatureRequest,Feature,UpdateFeatureOperationMetadata> updateFeatureOperationCallable()
Returns
Type Description
OperationCallable<UpdateFeatureRequest,Feature,UpdateFeatureOperationMetadata>
Overrides