Class VertexRagDataServiceStubSettings.Builder (3.49.0)

public static class VertexRagDataServiceStubSettings.Builder extends StubSettings.Builder<VertexRagDataServiceStubSettings,VertexRagDataServiceStubSettings.Builder>

Builder for VertexRagDataServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > VertexRagDataServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(VertexRagDataServiceStubSettings settings)

protected Builder(VertexRagDataServiceStubSettings settings)
Parameter
Name Description
settings VertexRagDataServiceStubSettings

Methods

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

public VertexRagDataServiceStubSettings.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
VertexRagDataServiceStubSettings.Builder

build()

public VertexRagDataServiceStubSettings build()
Returns
Type Description
VertexRagDataServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

uploadRagFileSettings()

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

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

Returns
Type Description
Builder<UploadRagFileRequest,UploadRagFileResponse>