Class ContainerAnalysisGrpc (2.46.0)

public final class ContainerAnalysisGrpc

Retrieves analysis results of Cloud components such as Docker container images. The Container Analysis API is an implementation of the Grafeas API. Analysis results are stored as a series of occurrences. An Occurrence contains information about a specific analysis instance on a resource. An occurrence refers to a Note. A note contains details describing the analysis and is generally stored in a separate project, called a Provider. Multiple occurrences can refer to the same note. For example, an SSL vulnerability could affect multiple images. In this case, there would be one note for the vulnerability and an occurrence for each image with the vulnerability referring to that note.

Inheritance

java.lang.Object > ContainerAnalysisGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ContainerAnalysisGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ContainerAnalysisGrpc.AsyncService service)
Parameter
Name Description
service ContainerAnalysisGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getGetIamPolicyMethod()

public static MethodDescriptor<GetIamPolicyRequest,Policy> getGetIamPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getGetVulnerabilityOccurrencesSummaryMethod()

public static MethodDescriptor<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary> getGetVulnerabilityOccurrencesSummaryMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetVulnerabilityOccurrencesSummaryRequest,VulnerabilityOccurrencesSummary>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

public static MethodDescriptor<SetIamPolicyRequest,Policy> getSetIamPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

getTestIamPermissionsMethod()

public static MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

newBlockingStub(Channel channel)

public static ContainerAnalysisGrpc.ContainerAnalysisBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ContainerAnalysisGrpc.ContainerAnalysisBlockingStub

newFutureStub(Channel channel)

public static ContainerAnalysisGrpc.ContainerAnalysisFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ContainerAnalysisGrpc.ContainerAnalysisFutureStub

newStub(Channel channel)

public static ContainerAnalysisGrpc.ContainerAnalysisStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ContainerAnalysisGrpc.ContainerAnalysisStub