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