Class LayerDetails (2.74.0)

  public 
  
 final 
  
 class 
 LayerDetails 
  
 extends 
  
 GeneratedMessageV3 
  
 implements 
  
 LayerDetailsOrBuilder 
 

Details about the layer a package was found in.

Protobuf type grafeas.v1.LayerDetails

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 
 () 
 
Returns
Type
Description

getDescriptor()

  public 
  
 static 
  
 final 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptor 
 () 
 
Returns
Type
Description

newBuilder()

  public 
  
 static 
  
 LayerDetails 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(LayerDetails prototype)

  public 
  
 static 
  
 LayerDetails 
 . 
 Builder 
  
 newBuilder 
 ( 
 LayerDetails 
  
 prototype 
 ) 
 
Parameter
Name
Description
prototype
Returns
Type
Description

parseDelimitedFrom(InputStream input)

  public 
  
 static 
  
 LayerDetails 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 LayerDetails 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data)

  public 
  
 static 
  
 LayerDetails 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 ) 
 
Parameter
Name
Description
data
byte []
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 LayerDetails 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
byte []
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data)

  public 
  
 static 
  
 LayerDetails 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 LayerDetails 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input)

  public 
  
 static 
  
 LayerDetails 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 LayerDetails 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input)

  public 
  
 static 
  
 LayerDetails 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 LayerDetails 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data)

  public 
  
 static 
  
 LayerDetails 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 LayerDetails 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parser()

  public 
  
 static 
  
 Parser<LayerDetails> 
  
 parser 
 () 
 
Returns
Type
Description

Methods

equals(Object obj)

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name
Description
obj
Returns
Type
Description
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
Returns
Type
Description

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;

Returns
Type
Description

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
Returns
Type
Description

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 
 () 
 

The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid

string chain_id = 5;

Returns
Type
Description

The chainId.

getChainIdBytes()

  public 
  
 ByteString 
  
 getChainIdBytes 
 () 
 

The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid

string chain_id = 5;

Returns
Type
Description

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

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

The bytes for command.

getDefaultInstanceForType()

  public 
  
 LayerDetails 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

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

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

The bytes for diffId.

getIndex()

  public 
  
 int 
  
 getIndex 
 () 
 

The index of the layer in the container image.

int32 index = 1;

Returns
Type
Description
int

The index.

getParserForType()

  public 
  
 Parser<LayerDetails> 
  
 getParserForType 
 () 
 
Returns
Type
Description
Overrides

getSerializedSize()

  public 
  
 int 
  
 getSerializedSize 
 () 
 
Returns
Type
Description
int
Overrides

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

newBuilderForType()

  public 
  
 LayerDetails 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

  protected 
  
 LayerDetails 
 . 
 Builder 
  
 newBuilderForType 
 ( 
 GeneratedMessageV3 
 . 
 BuilderParent 
  
 parent 
 ) 
 
Parameter
Name
Description
parent
Returns
Type
Description
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

  protected 
  
 Object 
  
 newInstance 
 ( 
 GeneratedMessageV3 
 . 
 UnusedPrivateParameter 
  
 unused 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Overrides

toBuilder()

  public 
  
 LayerDetails 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name
Description
Overrides
Exceptions
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: