Send feedback
Class LayerDetails (2.65.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class LayerDetails extends GeneratedMessageV3 implements LayerDetailsOrBuilder
Details about the layer a package was found in.
Protobuf type grafeas.v1.LayerDetails
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
BASE_IMAGES_FIELD_NUMBER
public static final int BASE_IMAGES_FIELD_NUMBER
Field Value
Type
Description
int
CHAIN_ID_FIELD_NUMBER
public static final int CHAIN_ID_FIELD_NUMBER
Field Value
Type
Description
int
COMMAND_FIELD_NUMBER
public static final int COMMAND_FIELD_NUMBER
Field Value
Type
Description
int
DIFF_ID_FIELD_NUMBER
public static final int DIFF_ID_FIELD_NUMBER
Field Value
Type
Description
int
INDEX_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static LayerDetails getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static LayerDetails . Builder newBuilder ()
newBuilder(LayerDetails prototype)
public static LayerDetails . Builder newBuilder ( LayerDetails prototype )
public static LayerDetails parseDelimitedFrom ( InputStream input )
public static LayerDetails parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static LayerDetails parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LayerDetails parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static LayerDetails parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LayerDetails parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static LayerDetails parseFrom ( CodedInputStream input )
public static LayerDetails parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static LayerDetails parseFrom ( InputStream input )
public static LayerDetails parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static LayerDetails parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LayerDetails parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<LayerDetails> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getBaseImages(int index)
public BaseImage getBaseImages ( int index )
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameter
Name
Description
index
int
getBaseImagesCount()
public int getBaseImagesCount ()
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Returns
Type
Description
int
getBaseImagesList()
public List<BaseImage> getBaseImagesList ()
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
getBaseImagesOrBuilder(int index)
public BaseImageOrBuilder getBaseImagesOrBuilder ( int index )
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Parameter
Name
Description
index
int
getBaseImagesOrBuilderList()
public List <? extends BaseImageOrBuilder > getBaseImagesOrBuilderList ()
The base images the layer is found within.
repeated .grafeas.v1.BaseImage base_images = 4;
Returns
Type
Description
List <? extends io.grafeas.v1.BaseImageOrBuilder >
getChainId()
public String getChainId ()
Returns
Type
Description
String
The chainId.
getChainIdBytes()
public ByteString getChainIdBytes ()
Returns
Type
Description
ByteString
The bytes for chainId.
getCommand()
public String getCommand ()
The layer build command that was used to build the layer. This may not be
found in all layers depending on how the container image is built.
string command = 3;
Returns
Type
Description
String
The command.
getCommandBytes()
public ByteString getCommandBytes ()
The layer build command that was used to build the layer. This may not be
found in all layers depending on how the container image is built.
string command = 3;
Returns
Type
Description
ByteString
The bytes for command.
getDefaultInstanceForType()
public LayerDetails getDefaultInstanceForType ()
getDiffId()
public String getDiffId ()
The diff ID (typically a sha256 hash) of the layer in the container image.
string diff_id = 2;
Returns
Type
Description
String
The diffId.
getDiffIdBytes()
public ByteString getDiffIdBytes ()
The diff ID (typically a sha256 hash) of the layer in the container image.
string diff_id = 2;
Returns
Type
Description
ByteString
The bytes for diffId.
getIndex()
The index of the layer in the container image.
int32 index = 1;
Returns
Type
Description
int
The index.
getParserForType()
public Parser<LayerDetails> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public LayerDetails . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LayerDetails . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public LayerDetails . 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-06-12 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-06-12 UTC."],[],[]]