public final class InTotoProvenance extends GeneratedMessageV3 implements InTotoProvenanceOrBuilder
Protobuf type grafeas.v1.InTotoProvenance
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InTotoProvenance.Builder newBuilder()
newBuilder(InTotoProvenance prototype)
public static InTotoProvenance.Builder newBuilder(InTotoProvenance prototype)
public static InTotoProvenance parseDelimitedFrom(InputStream input)
public static InTotoProvenance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InTotoProvenance parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InTotoProvenance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InTotoProvenance parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InTotoProvenance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InTotoProvenance parseFrom(CodedInputStream input)
public static InTotoProvenance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InTotoProvenance parseFrom(InputStream input)
public static InTotoProvenance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InTotoProvenance parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InTotoProvenance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InTotoProvenance> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBuilderConfig()
public BuilderConfig getBuilderConfig()
required
.grafeas.v1.BuilderConfig builder_config = 1;
getBuilderConfigOrBuilder()
public BuilderConfigOrBuilder getBuilderConfigOrBuilder()
required
.grafeas.v1.BuilderConfig builder_config = 1;
getDefaultInstanceForType()
public InTotoProvenance getDefaultInstanceForType()
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;
public Metadata getMetadata()
.grafeas.v1.Metadata metadata = 3;
Returns |
---|
Type | Description |
Metadata | The metadata.
|
public MetadataOrBuilder getMetadataOrBuilder()
.grafeas.v1.Metadata metadata = 3;
getParserForType()
public Parser<InTotoProvenance> getParserForType()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InTotoProvenance.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InTotoProvenance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public InTotoProvenance.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides