Class InTotoProvenance (2.61.0)

  public 
  
 final 
  
 class 
 InTotoProvenance 
  
 extends 
  
 GeneratedMessageV3 
  
 implements 
  
 InTotoProvenanceOrBuilder 
 

Protobuf type grafeas.v1.InTotoProvenance

Static Fields

BUILDER_CONFIG_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 BUILDER_CONFIG_FIELD_NUMBER 
 
Field Value
Type
Description
int

MATERIALS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 MATERIALS_FIELD_NUMBER 
 
Field Value
Type
Description
int
  public 
  
 static 
  
 final 
  
 int 
  
 METADATA_FIELD_NUMBER 
 
Field Value
Type
Description
int

RECIPE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 RECIPE_FIELD_NUMBER 
 
Field Value
Type
Description
int

Static Methods

getDefaultInstance()

  public 
  
 static 
  
 InTotoProvenance 
  
 getDefaultInstance 
 () 
 
Returns
Type
Description

getDescriptor()

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

newBuilder()

  public 
  
 static 
  
 InTotoProvenance 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(InTotoProvenance prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name
Description
obj
Returns
Type
Description
Overrides

getBuilderConfig()

  public 
  
 BuilderConfig 
  
 getBuilderConfig 
 () 
 

required

.grafeas.v1.BuilderConfig builder_config = 1;

Returns
Type
Description

The builderConfig.

getBuilderConfigOrBuilder()

  public 
  
 BuilderConfigOrBuilder 
  
 getBuilderConfigOrBuilder 
 () 
 

required

.grafeas.v1.BuilderConfig builder_config = 1;

Returns
Type
Description

getDefaultInstanceForType()

  public 
  
 InTotoProvenance 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getMaterials(int index)

  public 
  
 String 
  
 getMaterials 
 ( 
 int 
  
 index 
 ) 
 

The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.

repeated string materials = 4;

Parameter
Name
Description
index
int

The index of the element to return.

Returns
Type
Description

The materials at the given index.

getMaterialsBytes(int index)

  public 
  
 ByteString 
  
 getMaterialsBytes 
 ( 
 int 
  
 index 
 ) 
 

The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.

repeated string materials = 4;

Parameter
Name
Description
index
int

The index of the value to return.

Returns
Type
Description

The bytes of the materials at the given index.

getMaterialsCount()

  public 
  
 int 
  
 getMaterialsCount 
 () 
 

The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.

repeated string materials = 4;

Returns
Type
Description
int

The count of materials.

getMaterialsList()

  public 
  
 ProtocolStringList 
  
 getMaterialsList 
 () 
 

The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.

repeated string materials = 4;

Returns
Type
Description

A list containing the materials.

  public 
  
 Metadata 
  
 getMetadata 
 () 
 

.grafeas.v1.Metadata metadata = 3;

Returns
Type
Description

The metadata.

getMetadataOrBuilder()

  public 
  
 MetadataOrBuilder 
  
 getMetadataOrBuilder 
 () 
 

.grafeas.v1.Metadata metadata = 3;

Returns
Type
Description

getParserForType()

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

getRecipe()

  public 
  
 Recipe 
  
 getRecipe 
 () 
 

Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).

.grafeas.v1.Recipe recipe = 2;

Returns
Type
Description

The recipe.

getRecipeOrBuilder()

  public 
  
 RecipeOrBuilder 
  
 getRecipeOrBuilder 
 () 
 

Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).

.grafeas.v1.Recipe recipe = 2;

Returns
Type
Description

getSerializedSize()

  public 
  
 int 
  
 getSerializedSize 
 () 
 
Returns
Type
Description
int
Overrides

hasBuilderConfig()

  public 
  
 boolean 
  
 hasBuilderConfig 
 () 
 

required

.grafeas.v1.BuilderConfig builder_config = 1;

Returns
Type
Description

Whether the builderConfig field is set.

  public 
  
 boolean 
  
 hasMetadata 
 () 
 

.grafeas.v1.Metadata metadata = 3;

Returns
Type
Description

Whether the metadata field is set.

hasRecipe()

  public 
  
 boolean 
  
 hasRecipe 
 () 
 

Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).

.grafeas.v1.Recipe recipe = 2;

Returns
Type
Description

Whether the recipe field is set.

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 
  
 InTotoProvenance 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

  protected 
  
 InTotoProvenance 
 . 
 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 
  
 InTotoProvenance 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

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