Class ContainerAnalysisGrpc (2.42.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
TypeDescription
String

Static Methods

bindService(ContainerAnalysisGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ContainerAnalysisGrpc.AsyncService service)
Parameter
NameDescription
serviceContainerAnalysisGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getGetIamPolicyMethod()

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

getGetVulnerabilityOccurrencesSummaryMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

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

getTestIamPermissionsMethod()

public static MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ContainerAnalysisGrpc.ContainerAnalysisStub