Class GrpcFeatureRegistryServiceStub (3.33.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcFeatureRegistryServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcFeatureRegistryServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcFeatureRegistryServiceStub
Exceptions
TypeDescription
IOException

create(FeatureRegistryServiceStubSettings settings)

public static final GrpcFeatureRegistryServiceStub create(FeatureRegistryServiceStubSettings settings)
Parameter
NameDescription
settingsFeatureRegistryServiceStubSettings
Returns
TypeDescription
GrpcFeatureRegistryServiceStub
Exceptions
TypeDescription
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
NameDescription
settingsFeatureRegistryServiceStubSettings
clientContextClientContext

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
NameDescription
settingsFeatureRegistryServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createFeatureCallable()

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

createFeatureGroupCallable()

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

createFeatureGroupOperationCallable()

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

createFeatureOperationCallable()

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

deleteFeatureCallable()

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

deleteFeatureGroupCallable()

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

deleteFeatureGroupOperationCallable()

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

deleteFeatureOperationCallable()

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

getFeatureCallable()

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

getFeatureGroupCallable()

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

getIamPolicyCallable()

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

getLocationCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listFeatureGroupsCallable()

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

listFeatureGroupsPagedCallable()

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

listFeaturesCallable()

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

listFeaturesPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateFeatureCallable()

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

updateFeatureGroupCallable()

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

updateFeatureGroupOperationCallable()

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

updateFeatureOperationCallable()

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