Class GrpcVertexRagDataServiceStub (3.56.0)

public class GrpcVertexRagDataServiceStub extends VertexRagDataServiceStub

gRPC stub implementation for the VertexRagDataService service API.

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

Inheritance

java.lang.Object > VertexRagDataServiceStub > GrpcVertexRagDataServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(VertexRagDataServiceStubSettings settings)

public static final GrpcVertexRagDataServiceStub create(VertexRagDataServiceStubSettings settings)
Parameter
Name Description
settings VertexRagDataServiceStubSettings
Returns
Type Description
GrpcVertexRagDataServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcVertexRagDataServiceStub(VertexRagDataServiceStubSettings settings, ClientContext clientContext)

protected GrpcVertexRagDataServiceStub(VertexRagDataServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcVertexRagDataServiceStub, 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 VertexRagDataServiceStubSettings
clientContext ClientContext

GrpcVertexRagDataServiceStub(VertexRagDataServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcVertexRagDataServiceStub(VertexRagDataServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcVertexRagDataServiceStub, 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 VertexRagDataServiceStubSettings
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

createRagCorpusCallable()

public UnaryCallable<CreateRagCorpusRequest,Operation> createRagCorpusCallable()
Returns
Type Description
UnaryCallable<CreateRagCorpusRequest,Operation>
Overrides

createRagCorpusOperationCallable()

public OperationCallable<CreateRagCorpusRequest,RagCorpus,CreateRagCorpusOperationMetadata> createRagCorpusOperationCallable()
Returns
Type Description
OperationCallable<CreateRagCorpusRequest,RagCorpus,CreateRagCorpusOperationMetadata>
Overrides

deleteRagCorpusCallable()

public UnaryCallable<DeleteRagCorpusRequest,Operation> deleteRagCorpusCallable()
Returns
Type Description
UnaryCallable<DeleteRagCorpusRequest,Operation>
Overrides

deleteRagCorpusOperationCallable()

public OperationCallable<DeleteRagCorpusRequest,Empty,DeleteOperationMetadata> deleteRagCorpusOperationCallable()
Returns
Type Description
OperationCallable<DeleteRagCorpusRequest,Empty,DeleteOperationMetadata>
Overrides

deleteRagFileCallable()

public UnaryCallable<DeleteRagFileRequest,Operation> deleteRagFileCallable()
Returns
Type Description
UnaryCallable<DeleteRagFileRequest,Operation>
Overrides

deleteRagFileOperationCallable()

public OperationCallable<DeleteRagFileRequest,Empty,DeleteOperationMetadata> deleteRagFileOperationCallable()
Returns
Type Description
OperationCallable<DeleteRagFileRequest,Empty,DeleteOperationMetadata>
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

getRagCorpusCallable()

public UnaryCallable<GetRagCorpusRequest,RagCorpus> getRagCorpusCallable()
Returns
Type Description
UnaryCallable<GetRagCorpusRequest,RagCorpus>
Overrides

getRagFileCallable()

public UnaryCallable<GetRagFileRequest,RagFile> getRagFileCallable()
Returns
Type Description
UnaryCallable<GetRagFileRequest,RagFile>
Overrides

importRagFilesCallable()

public UnaryCallable<ImportRagFilesRequest,Operation> importRagFilesCallable()
Returns
Type Description
UnaryCallable<ImportRagFilesRequest,Operation>
Overrides

importRagFilesOperationCallable()

public OperationCallable<ImportRagFilesRequest,ImportRagFilesResponse,ImportRagFilesOperationMetadata> importRagFilesOperationCallable()
Returns
Type Description
OperationCallable<ImportRagFilesRequest,ImportRagFilesResponse,ImportRagFilesOperationMetadata>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

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,VertexRagDataServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listRagCorporaCallable()

public UnaryCallable<ListRagCorporaRequest,ListRagCorporaResponse> listRagCorporaCallable()
Returns
Type Description
UnaryCallable<ListRagCorporaRequest,ListRagCorporaResponse>
Overrides

listRagCorporaPagedCallable()

public UnaryCallable<ListRagCorporaRequest,VertexRagDataServiceClient.ListRagCorporaPagedResponse> listRagCorporaPagedCallable()
Returns
Type Description
UnaryCallable<ListRagCorporaRequest,ListRagCorporaPagedResponse>
Overrides

listRagFilesCallable()

public UnaryCallable<ListRagFilesRequest,ListRagFilesResponse> listRagFilesCallable()
Returns
Type Description
UnaryCallable<ListRagFilesRequest,ListRagFilesResponse>
Overrides

listRagFilesPagedCallable()

public UnaryCallable<ListRagFilesRequest,VertexRagDataServiceClient.ListRagFilesPagedResponse> listRagFilesPagedCallable()
Returns
Type Description
UnaryCallable<ListRagFilesRequest,ListRagFilesPagedResponse>
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

updateRagCorpusCallable()

public UnaryCallable<UpdateRagCorpusRequest,Operation> updateRagCorpusCallable()
Returns
Type Description
UnaryCallable<UpdateRagCorpusRequest,Operation>
Overrides

updateRagCorpusOperationCallable()

public OperationCallable<UpdateRagCorpusRequest,RagCorpus,UpdateRagCorpusOperationMetadata> updateRagCorpusOperationCallable()
Returns
Type Description
OperationCallable<UpdateRagCorpusRequest,RagCorpus,UpdateRagCorpusOperationMetadata>
Overrides

uploadRagFileCallable()

public UnaryCallable<UploadRagFileRequest,UploadRagFileResponse> uploadRagFileCallable()
Returns
Type Description
UnaryCallable<UploadRagFileRequest,UploadRagFileResponse>
Overrides