Class ModelArmorGrpc
java.lang.Object
com.google.cloud.modelarmor.v1beta.ModelArmorGrpc
Service describing handlers for resources
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceService describing handlers for resourcesstatic final classA stub to allow clients to do limited synchronous rpc calls to service ModelArmor.static final classA stub to allow clients to do synchronous rpc calls to service ModelArmor.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service ModelArmor.static classBase class for the server implementation of the service ModelArmor.static final classA stub to allow clients to do asynchronous rpc calls to service ModelArmor. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(ModelArmorGrpc.AsyncService service) static io.grpc.MethodDescriptor<CreateTemplateRequest,Template> static io.grpc.MethodDescriptor<DeleteTemplateRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<GetFloorSettingRequest,FloorSetting> static io.grpc.MethodDescriptor<GetTemplateRequest,Template> static io.grpc.MethodDescriptor<ListTemplatesRequest,ListTemplatesResponse> static io.grpc.MethodDescriptor<SanitizeModelResponseRequest,SanitizeModelResponseResponse> static io.grpc.MethodDescriptor<SanitizeUserPromptRequest,SanitizeUserPromptResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<SanitizeModelResponseRequest,SanitizeModelResponseResponse> static io.grpc.MethodDescriptor<SanitizeUserPromptRequest,SanitizeUserPromptResponse> static io.grpc.MethodDescriptor<UpdateFloorSettingRequest,FloorSetting> static io.grpc.MethodDescriptor<UpdateTemplateRequest,Template> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getListTemplatesMethod
public static io.grpc.MethodDescriptor<ListTemplatesRequest,ListTemplatesResponse> getListTemplatesMethod() -
getGetTemplateMethod
-
getCreateTemplateMethod
-
getUpdateTemplateMethod
-
getDeleteTemplateMethod
public static io.grpc.MethodDescriptor<DeleteTemplateRequest,com.google.protobuf.Empty> getDeleteTemplateMethod() -
getGetFloorSettingMethod
public static io.grpc.MethodDescriptor<GetFloorSettingRequest,FloorSetting> getGetFloorSettingMethod() -
getUpdateFloorSettingMethod
public static io.grpc.MethodDescriptor<UpdateFloorSettingRequest,FloorSetting> getUpdateFloorSettingMethod() -
getSanitizeUserPromptMethod
public static io.grpc.MethodDescriptor<SanitizeUserPromptRequest,SanitizeUserPromptResponse> getSanitizeUserPromptMethod() -
getSanitizeModelResponseMethod
public static io.grpc.MethodDescriptor<SanitizeModelResponseRequest,SanitizeModelResponseResponse> getSanitizeModelResponseMethod() -
getStreamSanitizeUserPromptMethod
public static io.grpc.MethodDescriptor<SanitizeUserPromptRequest,SanitizeUserPromptResponse> getStreamSanitizeUserPromptMethod() -
getStreamSanitizeModelResponseMethod
public static io.grpc.MethodDescriptor<SanitizeModelResponseRequest,SanitizeModelResponseResponse> getStreamSanitizeModelResponseMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(ModelArmorGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-