Class ModelArmorStub (0.1.0)

public abstract class ModelArmorStub implements BackgroundResource

Base stub class for the ModelArmor service API.

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

Inheritance

java.lang.Object > ModelArmorStub

Implements

BackgroundResource

Constructors

ModelArmorStub()

public ModelArmorStub()

Methods

close()

public abstract void close()

createTemplateCallable()

public UnaryCallable<CreateTemplateRequest,Template> createTemplateCallable()
Returns
Type Description
UnaryCallable<CreateTemplateRequest,Template>

deleteTemplateCallable()

public UnaryCallable<DeleteTemplateRequest,Empty> deleteTemplateCallable()
Returns
Type Description
UnaryCallable<DeleteTemplateRequest,Empty>

getFloorSettingCallable()

public UnaryCallable<GetFloorSettingRequest,FloorSetting> getFloorSettingCallable()
Returns
Type Description
UnaryCallable<GetFloorSettingRequest,FloorSetting>

getLocationCallable()

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

getTemplateCallable()

public UnaryCallable<GetTemplateRequest,Template> getTemplateCallable()
Returns
Type Description
UnaryCallable<GetTemplateRequest,Template>

listLocationsCallable()

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

listLocationsPagedCallable()

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

listTemplatesCallable()

public UnaryCallable<ListTemplatesRequest,ListTemplatesResponse> listTemplatesCallable()
Returns
Type Description
UnaryCallable<ListTemplatesRequest,ListTemplatesResponse>

listTemplatesPagedCallable()

public UnaryCallable<ListTemplatesRequest,ModelArmorClient.ListTemplatesPagedResponse> listTemplatesPagedCallable()
Returns
Type Description
UnaryCallable<ListTemplatesRequest,ListTemplatesPagedResponse>

sanitizeModelResponseCallable()

public UnaryCallable<SanitizeModelResponseRequest,SanitizeModelResponseResponse> sanitizeModelResponseCallable()
Returns
Type Description
UnaryCallable<SanitizeModelResponseRequest,SanitizeModelResponseResponse>

sanitizeUserPromptCallable()

public UnaryCallable<SanitizeUserPromptRequest,SanitizeUserPromptResponse> sanitizeUserPromptCallable()
Returns
Type Description
UnaryCallable<SanitizeUserPromptRequest,SanitizeUserPromptResponse>

updateFloorSettingCallable()

public UnaryCallable<UpdateFloorSettingRequest,FloorSetting> updateFloorSettingCallable()
Returns
Type Description
UnaryCallable<UpdateFloorSettingRequest,FloorSetting>

updateTemplateCallable()

public UnaryCallable<UpdateTemplateRequest,Template> updateTemplateCallable()
Returns
Type Description
UnaryCallable<UpdateTemplateRequest,Template>