public final class Container extends GeneratedMessageV3 implements ContainerOrBuilder
Container associated with the finding.
Protobuf type google.cloud.securitycenter.v1.Container
Static Fields
IMAGE_ID_FIELD_NUMBER
public static final int IMAGE_ID_FIELD_NUMBER
Field Value
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Container getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Container.Builder newBuilder()
Returns
newBuilder(Container prototype)
public static Container.Builder newBuilder(Container prototype)
Parameter
Returns
public static Container parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Container parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Container parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Container parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Container parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Container parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Container parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Container parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Container parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Container parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Container parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Container parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Container> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Container getDefaultInstanceForType()
Returns
getImageId()
public String getImageId()
Optional container image id, when 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, when provided by the container runtime.
Uniquely identifies the container image launched using a container image
digest.
string image_id = 3;
Returns
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
Returns
getLabelsCount()
public int getLabelsCount()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Returns
getLabelsList()
public List<Label> getLabelsList()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Returns
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
Returns
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()
Container name.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Container name.
string name = 1;
Returns
getParserForType()
public Parser<Container> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUri()
Container image URI provided when configuring a pod/container.
May identify a container image version using mutable tags.
string uri = 2;
Returns
getUriBytes()
public ByteString getUriBytes()
Container image URI provided when configuring a pod/container.
May identify a container image version using mutable tags.
string uri = 2;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Container.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Container.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Container.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions