- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public static final class InTotoProvenance.Builder extends GeneratedMessageV3.Builder<InTotoProvenance.Builder> implements InTotoProvenanceOrBuilder
Protobuf type grafeas.v1.InTotoProvenance
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InTotoProvenance.BuilderImplements
InTotoProvenanceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllMaterials(Iterable<String> values)
public InTotoProvenance.Builder addAllMaterials(Iterable<String> values)
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 |
values |
Iterable<String> The materials to add. |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
This builder for chaining. |
addMaterials(String value)
public InTotoProvenance.Builder addMaterials(String value)
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 |
value |
String The materials to add. |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
This builder for chaining. |
addMaterialsBytes(ByteString value)
public InTotoProvenance.Builder addMaterialsBytes(ByteString value)
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 |
value |
ByteString The bytes of the materials to add. |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InTotoProvenance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
build()
public InTotoProvenance build()
Returns | |
---|---|
Type | Description |
InTotoProvenance |
buildPartial()
public InTotoProvenance buildPartial()
Returns | |
---|---|
Type | Description |
InTotoProvenance |
clear()
public InTotoProvenance.Builder clear()
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
clearBuilderConfig()
public InTotoProvenance.Builder clearBuilderConfig()
required
.grafeas.v1.BuilderConfig builder_config = 1;
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
clearField(Descriptors.FieldDescriptor field)
public InTotoProvenance.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
clearMaterials()
public InTotoProvenance.Builder clearMaterials()
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 |
InTotoProvenance.Builder |
This builder for chaining. |
clearMetadata()
public InTotoProvenance.Builder clearMetadata()
.grafeas.v1.Metadata metadata = 3;
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public InTotoProvenance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
clearRecipe()
public InTotoProvenance.Builder clearRecipe()
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 |
InTotoProvenance.Builder |
clone()
public InTotoProvenance.Builder clone()
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
getBuilderConfig()
public BuilderConfig getBuilderConfig()
required
.grafeas.v1.BuilderConfig builder_config = 1;
Returns | |
---|---|
Type | Description |
BuilderConfig |
The builderConfig. |
getBuilderConfigBuilder()
public BuilderConfig.Builder getBuilderConfigBuilder()
required
.grafeas.v1.BuilderConfig builder_config = 1;
Returns | |
---|---|
Type | Description |
BuilderConfig.Builder |
getBuilderConfigOrBuilder()
public BuilderConfigOrBuilder getBuilderConfigOrBuilder()
required
.grafeas.v1.BuilderConfig builder_config = 1;
Returns | |
---|---|
Type | Description |
BuilderConfigOrBuilder |
getDefaultInstanceForType()
public InTotoProvenance getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InTotoProvenance |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the materials. |
getMetadata()
public Metadata getMetadata()
.grafeas.v1.Metadata metadata = 3;
Returns | |
---|---|
Type | Description |
Metadata |
The metadata. |
getMetadataBuilder()
public Metadata.Builder getMetadataBuilder()
.grafeas.v1.Metadata metadata = 3;
Returns | |
---|---|
Type | Description |
Metadata.Builder |
getMetadataOrBuilder()
public MetadataOrBuilder getMetadataOrBuilder()
.grafeas.v1.Metadata metadata = 3;
Returns | |
---|---|
Type | Description |
MetadataOrBuilder |
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. |
getRecipeBuilder()
public Recipe.Builder getRecipeBuilder()
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.Builder |
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 |
RecipeOrBuilder |
hasBuilderConfig()
public boolean hasBuilderConfig()
required
.grafeas.v1.BuilderConfig builder_config = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the builderConfig field is set. |
hasMetadata()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBuilderConfig(BuilderConfig value)
public InTotoProvenance.Builder mergeBuilderConfig(BuilderConfig value)
required
.grafeas.v1.BuilderConfig builder_config = 1;
Parameter | |
---|---|
Name | Description |
value |
BuilderConfig |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InTotoProvenance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InTotoProvenance.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
mergeFrom(InTotoProvenance other)
public InTotoProvenance.Builder mergeFrom(InTotoProvenance other)
Parameter | |
---|---|
Name | Description |
other |
InTotoProvenance |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
mergeMetadata(Metadata value)
public InTotoProvenance.Builder mergeMetadata(Metadata value)
.grafeas.v1.Metadata metadata = 3;
Parameter | |
---|---|
Name | Description |
value |
Metadata |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
mergeRecipe(Recipe value)
public InTotoProvenance.Builder mergeRecipe(Recipe value)
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;
Parameter | |
---|---|
Name | Description |
value |
Recipe |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InTotoProvenance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
setBuilderConfig(BuilderConfig value)
public InTotoProvenance.Builder setBuilderConfig(BuilderConfig value)
required
.grafeas.v1.BuilderConfig builder_config = 1;
Parameter | |
---|---|
Name | Description |
value |
BuilderConfig |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
setBuilderConfig(BuilderConfig.Builder builderForValue)
public InTotoProvenance.Builder setBuilderConfig(BuilderConfig.Builder builderForValue)
required
.grafeas.v1.BuilderConfig builder_config = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
BuilderConfig.Builder |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InTotoProvenance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
setMaterials(int index, String value)
public InTotoProvenance.Builder setMaterials(int index, String value)
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;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The materials to set. |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
This builder for chaining. |
setMetadata(Metadata value)
public InTotoProvenance.Builder setMetadata(Metadata value)
.grafeas.v1.Metadata metadata = 3;
Parameter | |
---|---|
Name | Description |
value |
Metadata |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
setMetadata(Metadata.Builder builderForValue)
public InTotoProvenance.Builder setMetadata(Metadata.Builder builderForValue)
.grafeas.v1.Metadata metadata = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Metadata.Builder |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
setRecipe(Recipe value)
public InTotoProvenance.Builder setRecipe(Recipe value)
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;
Parameter | |
---|---|
Name | Description |
value |
Recipe |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
setRecipe(Recipe.Builder builderForValue)
public InTotoProvenance.Builder setRecipe(Recipe.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Recipe.Builder |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InTotoProvenance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InTotoProvenance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InTotoProvenance.Builder |