Class VertexRagDataServiceSettings.Builder (3.47.0)

public static class VertexRagDataServiceSettings.Builder extends ClientSettings.Builder<VertexRagDataServiceSettings,VertexRagDataServiceSettings.Builder>

Builder for VertexRagDataServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > VertexRagDataServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(VertexRagDataServiceSettings settings)

protected Builder(VertexRagDataServiceSettings settings)
Parameter
Name Description
settings VertexRagDataServiceSettings

Builder(VertexRagDataServiceStubSettings.Builder stubSettings)

protected Builder(VertexRagDataServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings VertexRagDataServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
VertexRagDataServiceSettings.Builder

build()

public VertexRagDataServiceSettings build()
Returns
Type Description
VertexRagDataServiceSettings
Overrides
Exceptions
Type Description
IOException

createRagCorpusOperationSettings()

public OperationCallSettings.Builder<CreateRagCorpusRequest,RagCorpus,CreateRagCorpusOperationMetadata> createRagCorpusOperationSettings()

Returns the builder for the settings used for calls to createRagCorpus.

Returns
Type Description
Builder<CreateRagCorpusRequest,RagCorpus,CreateRagCorpusOperationMetadata>

createRagCorpusSettings()

public UnaryCallSettings.Builder<CreateRagCorpusRequest,Operation> createRagCorpusSettings()

Returns the builder for the settings used for calls to createRagCorpus.

Returns
Type Description
Builder<CreateRagCorpusRequest,Operation>

deleteRagCorpusOperationSettings()

public OperationCallSettings.Builder<DeleteRagCorpusRequest,Empty,DeleteOperationMetadata> deleteRagCorpusOperationSettings()

Returns the builder for the settings used for calls to deleteRagCorpus.

Returns
Type Description
Builder<DeleteRagCorpusRequest,Empty,DeleteOperationMetadata>

deleteRagCorpusSettings()

public UnaryCallSettings.Builder<DeleteRagCorpusRequest,Operation> deleteRagCorpusSettings()

Returns the builder for the settings used for calls to deleteRagCorpus.

Returns
Type Description
Builder<DeleteRagCorpusRequest,Operation>

deleteRagFileOperationSettings()

public OperationCallSettings.Builder<DeleteRagFileRequest,Empty,DeleteOperationMetadata> deleteRagFileOperationSettings()

Returns the builder for the settings used for calls to deleteRagFile.

Returns
Type Description
Builder<DeleteRagFileRequest,Empty,DeleteOperationMetadata>

deleteRagFileSettings()

public UnaryCallSettings.Builder<DeleteRagFileRequest,Operation> deleteRagFileSettings()

Returns the builder for the settings used for calls to deleteRagFile.

Returns
Type Description
Builder<DeleteRagFileRequest,Operation>

getIamPolicySettings()

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>

getLocationSettings()

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>

getRagCorpusSettings()

public UnaryCallSettings.Builder<GetRagCorpusRequest,RagCorpus> getRagCorpusSettings()

Returns the builder for the settings used for calls to getRagCorpus.

Returns
Type Description
Builder<GetRagCorpusRequest,RagCorpus>

getRagFileSettings()

public UnaryCallSettings.Builder<GetRagFileRequest,RagFile> getRagFileSettings()

Returns the builder for the settings used for calls to getRagFile.

Returns
Type Description
Builder<GetRagFileRequest,RagFile>

getStubSettingsBuilder()

public VertexRagDataServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
VertexRagDataServiceStubSettings.Builder

importRagFilesOperationSettings()

public OperationCallSettings.Builder<ImportRagFilesRequest,ImportRagFilesResponse,ImportRagFilesOperationMetadata> importRagFilesOperationSettings()

Returns the builder for the settings used for calls to importRagFiles.

Returns
Type Description
Builder<ImportRagFilesRequest,ImportRagFilesResponse,ImportRagFilesOperationMetadata>

importRagFilesSettings()

public UnaryCallSettings.Builder<ImportRagFilesRequest,Operation> importRagFilesSettings()

Returns the builder for the settings used for calls to importRagFiles.

Returns
Type Description
Builder<ImportRagFilesRequest,Operation>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,VertexRagDataServiceClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listRagCorporaSettings()

public PagedCallSettings.Builder<ListRagCorporaRequest,ListRagCorporaResponse,VertexRagDataServiceClient.ListRagCorporaPagedResponse> listRagCorporaSettings()

Returns the builder for the settings used for calls to listRagCorpora.

Returns
Type Description
Builder<ListRagCorporaRequest,ListRagCorporaResponse,ListRagCorporaPagedResponse>

listRagFilesSettings()

public PagedCallSettings.Builder<ListRagFilesRequest,ListRagFilesResponse,VertexRagDataServiceClient.ListRagFilesPagedResponse> listRagFilesSettings()

Returns the builder for the settings used for calls to listRagFiles.

Returns
Type Description
Builder<ListRagFilesRequest,ListRagFilesResponse,ListRagFilesPagedResponse>

setIamPolicySettings()

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>

testIamPermissionsSettings()

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>

uploadRagFileSettings()

public UnaryCallSettings.Builder<UploadRagFileRequest,UploadRagFileResponse> uploadRagFileSettings()

Returns the builder for the settings used for calls to uploadRagFile.

Returns
Type Description
Builder<UploadRagFileRequest,UploadRagFileResponse>