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
MATERIALS_FIELD_NUMBER
public static final int MATERIALS_FIELD_NUMBER
Field Value
public static final int METADATA_FIELD_NUMBER
Field Value
RECIPE_FIELD_NUMBER
public static final int RECIPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static InTotoProvenance getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static InTotoProvenance.Builder newBuilder()
Returns
newBuilder(InTotoProvenance prototype)
public static InTotoProvenance.Builder newBuilder(InTotoProvenance prototype)
Parameter
Returns
public static InTotoProvenance parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InTotoProvenance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static InTotoProvenance parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InTotoProvenance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static InTotoProvenance parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InTotoProvenance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InTotoProvenance parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InTotoProvenance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InTotoProvenance parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InTotoProvenance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static InTotoProvenance parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InTotoProvenance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<InTotoProvenance> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBuilderConfig()
public BuilderConfig getBuilderConfig()
required
.grafeas.v1.BuilderConfig builder_config = 1;
Returns
getBuilderConfigOrBuilder()
public BuilderConfigOrBuilder getBuilderConfigOrBuilder()
required
.grafeas.v1.BuilderConfig builder_config = 1;
Returns
getDefaultInstanceForType()
public InTotoProvenance getDefaultInstanceForType()
Returns
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 |
String | 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 |
ByteString | 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
public Metadata getMetadata()
.grafeas.v1.Metadata metadata = 3;
Returns
public MetadataOrBuilder getMetadataOrBuilder()
.grafeas.v1.Metadata metadata = 3;
Returns
getParserForType()
public Parser<InTotoProvenance> getParserForType()
Returns
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 |
Recipe | 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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasBuilderConfig()
public boolean hasBuilderConfig()
required
.grafeas.v1.BuilderConfig builder_config = 1;
Returns
Type | Description |
boolean | Whether the builderConfig field is set.
|
public boolean hasMetadata()
.grafeas.v1.Metadata metadata = 3;
Returns
Type | Description |
boolean | 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 |
boolean | Whether the recipe field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public InTotoProvenance.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InTotoProvenance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public InTotoProvenance.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions