public static class VertexRagDataServiceSettings.Builder extends ClientSettings.Builder<VertexRagDataServiceSettings,VertexRagDataServiceSettings.Builder>
Builder for VertexRagDataServiceSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
protected Builder(VertexRagDataServiceSettings settings)
protected Builder(VertexRagDataServiceStubSettings.Builder stubSettings)
Methods
public VertexRagDataServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
public VertexRagDataServiceSettings build()
Overrides
public OperationCallSettings.Builder<CreateRagCorpusRequest,RagCorpus,CreateRagCorpusOperationMetadata> createRagCorpusOperationSettings()
Returns the builder for the settings used for calls to createRagCorpus.
public UnaryCallSettings.Builder<CreateRagCorpusRequest,Operation> createRagCorpusSettings()
Returns the builder for the settings used for calls to createRagCorpus.
public OperationCallSettings.Builder<DeleteRagCorpusRequest,Empty,DeleteOperationMetadata> deleteRagCorpusOperationSettings()
Returns the builder for the settings used for calls to deleteRagCorpus.
public UnaryCallSettings.Builder<DeleteRagCorpusRequest,Operation> deleteRagCorpusSettings()
Returns the builder for the settings used for calls to deleteRagCorpus.
public OperationCallSettings.Builder<DeleteRagFileRequest,Empty,DeleteOperationMetadata> deleteRagFileOperationSettings()
Returns the builder for the settings used for calls to deleteRagFile.
public UnaryCallSettings.Builder<DeleteRagFileRequest,Operation> deleteRagFileSettings()
Returns the builder for the settings used for calls to deleteRagFile.
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns |
Type |
Description |
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns |
Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
public UnaryCallSettings.Builder<GetRagCorpusRequest,RagCorpus> getRagCorpusSettings()
Returns the builder for the settings used for calls to getRagCorpus.
public UnaryCallSettings.Builder<GetRagFileRequest,RagFile> getRagFileSettings()
Returns the builder for the settings used for calls to getRagFile.
public VertexRagDataServiceStubSettings.Builder getStubSettingsBuilder()
public OperationCallSettings.Builder<ImportRagFilesRequest,ImportRagFilesResponse,ImportRagFilesOperationMetadata> importRagFilesOperationSettings()
Returns the builder for the settings used for calls to importRagFiles.
public UnaryCallSettings.Builder<ImportRagFilesRequest,Operation> importRagFilesSettings()
Returns the builder for the settings used for calls to importRagFiles.
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,VertexRagDataServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
public PagedCallSettings.Builder<ListRagCorporaRequest,ListRagCorporaResponse,VertexRagDataServiceClient.ListRagCorporaPagedResponse> listRagCorporaSettings()
Returns the builder for the settings used for calls to listRagCorpora.
public PagedCallSettings.Builder<ListRagFilesRequest,ListRagFilesResponse,VertexRagDataServiceClient.ListRagFilesPagedResponse> listRagFilesSettings()
Returns the builder for the settings used for calls to listRagFiles.
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns |
Type |
Description |
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns |
Type |
Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|
public UnaryCallSettings.Builder<UploadRagFileRequest,UploadRagFileResponse> uploadRagFileSettings()
Returns the builder for the settings used for calls to uploadRagFile.