Send feedback
Class Container (2.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.40.0 keyboard_arrow_down
public final class Container extends GeneratedMessageV3 implements ContainerOrBuilder
Container associated with the finding.
Protobuf type google.cloud.securitycenter.v1.Container
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
IMAGE_ID_FIELD_NUMBER
public static final int IMAGE_ID_FIELD_NUMBER
Field Value
Type
Description
int
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
Type
Description
int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Container getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Container . Builder newBuilder ()
newBuilder(Container prototype)
public static Container . Builder newBuilder ( Container prototype )
Parameter
Name
Description
prototype
Container
public static Container parseDelimitedFrom ( InputStream input )
public static Container parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Container parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Container parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Container parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Container parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Container parseFrom ( CodedInputStream input )
public static Container parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Container parseFrom ( InputStream input )
public static Container parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Container parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Container parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Container> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public Container getDefaultInstanceForType ()
getImageId()
public String getImageId ()
Optional container image ID, if provided by the container runtime. Uniquely
identifies the container image launched using a container image digest.
string image_id = 3;
Returns
Type
Description
String
The imageId.
getImageIdBytes()
public ByteString getImageIdBytes ()
Optional container image ID, if provided by the container runtime. Uniquely
identifies the container image launched using a container image digest.
string image_id = 3;
Returns
Type
Description
ByteString
The bytes for imageId.
getLabels(int index)
public Label getLabels ( int index )
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameter
Name
Description
index
int
Returns
Type
Description
Label
getLabelsCount()
public int getLabelsCount ()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Returns
Type
Description
int
getLabelsList()
public List<Label> getLabelsList ()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
getLabelsOrBuilder(int index)
public LabelOrBuilder getLabelsOrBuilder ( int index )
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameter
Name
Description
index
int
getLabelsOrBuilderList()
public List <? extends LabelOrBuilder > getLabelsOrBuilderList ()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Returns
Type
Description
List <? extends com.google.cloud.securitycenter.v1.LabelOrBuilder >
getName()
Name of the container.
string name = 1;
Returns
Type
Description
String
The name.
getNameBytes()
public ByteString getNameBytes ()
Name of the container.
string name = 1;
Returns
Type
Description
ByteString
The bytes for name.
getParserForType()
public Parser<Container> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUri()
Container image URI provided when configuring a pod or container. This
string can identify a container image version using mutable tags.
string uri = 2;
Returns
Type
Description
String
The uri.
getUriBytes()
public ByteString getUriBytes ()
Container image URI provided when configuring a pod or container. This
string can identify a container image version using mutable tags.
string uri = 2;
Returns
Type
Description
ByteString
The bytes for uri.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Container . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Container . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Container . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-05-02 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-02 UTC."],[],[]]