Class GenAiTuningServiceStub (3.45.0)

public abstract class GenAiTuningServiceStub implements BackgroundResource

Base stub class for the GenAiTuningService service API.

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

Inheritance

java.lang.Object > GenAiTuningServiceStub

Implements

BackgroundResource

Constructors

GenAiTuningServiceStub()

public GenAiTuningServiceStub()

Methods

cancelTuningJobCallable()

public UnaryCallable<CancelTuningJobRequest,Empty> cancelTuningJobCallable()
Returns
Type Description
UnaryCallable<CancelTuningJobRequest,Empty>

close()

public abstract void close()

createTuningJobCallable()

public UnaryCallable<CreateTuningJobRequest,TuningJob> createTuningJobCallable()
Returns
Type Description
UnaryCallable<CreateTuningJobRequest,TuningJob>

getIamPolicyCallable()

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

getLocationCallable()

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

getTuningJobCallable()

public UnaryCallable<GetTuningJobRequest,TuningJob> getTuningJobCallable()
Returns
Type Description
UnaryCallable<GetTuningJobRequest,TuningJob>

listLocationsCallable()

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

listLocationsPagedCallable()

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

listTuningJobsCallable()

public UnaryCallable<ListTuningJobsRequest,ListTuningJobsResponse> listTuningJobsCallable()
Returns
Type Description
UnaryCallable<ListTuningJobsRequest,ListTuningJobsResponse>

listTuningJobsPagedCallable()

public UnaryCallable<ListTuningJobsRequest,GenAiTuningServiceClient.ListTuningJobsPagedResponse> listTuningJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListTuningJobsRequest,ListTuningJobsPagedResponse>

setIamPolicyCallable()

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

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>