Class ContainerAnalysisGrpc (2.25.0)

publicfinalclass 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

publicstaticfinalStringSERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ContainerAnalysisGrpc.AsyncService service)

publicstaticfinalServerServiceDefinitionbindService(ContainerAnalysisGrpc.AsyncServiceservice)
Parameter
Name Description
service ContainerAnalysisGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getGetIamPolicyMethod()

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

getGetVulnerabilityOccurrencesSummaryMethod()

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

getServiceDescriptor()

publicstaticServiceDescriptorgetServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

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

getTestIamPermissionsMethod()

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

newBlockingStub(Channel channel)

publicstaticContainerAnalysisGrpc.ContainerAnalysisBlockingStubnewBlockingStub(Channelchannel)

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)

publicstaticContainerAnalysisGrpc.ContainerAnalysisFutureStubnewFutureStub(Channelchannel)

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)

publicstaticContainerAnalysisGrpc.ContainerAnalysisStubnewStub(Channelchannel)

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.