public static final class SlsaProvenanceZeroTwo.Builder extends GeneratedMessageV3.Builder<SlsaProvenanceZeroTwo.Builder> implements SlsaProvenanceZeroTwoOrBuilder
See full explanation of fields at slsa.dev/provenance/v0.2.
Protobuf type grafeas.v1.SlsaProvenanceZeroTwo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllMaterials(Iterable<? extends SlsaProvenanceZeroTwo.SlsaMaterial> values)
public SlsaProvenanceZeroTwo.Builder addAllMaterials(Iterable<? extends SlsaProvenanceZeroTwo.SlsaMaterial> values)
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
Parameter |
---|
Name | Description |
values | Iterable<? extends io.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial>
|
addMaterials(int index, SlsaProvenanceZeroTwo.SlsaMaterial value)
public SlsaProvenanceZeroTwo.Builder addMaterials(int index, SlsaProvenanceZeroTwo.SlsaMaterial value)
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
addMaterials(int index, SlsaProvenanceZeroTwo.SlsaMaterial.Builder builderForValue)
public SlsaProvenanceZeroTwo.Builder addMaterials(int index, SlsaProvenanceZeroTwo.SlsaMaterial.Builder builderForValue)
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
addMaterials(SlsaProvenanceZeroTwo.SlsaMaterial value)
public SlsaProvenanceZeroTwo.Builder addMaterials(SlsaProvenanceZeroTwo.SlsaMaterial value)
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
addMaterials(SlsaProvenanceZeroTwo.SlsaMaterial.Builder builderForValue)
public SlsaProvenanceZeroTwo.Builder addMaterials(SlsaProvenanceZeroTwo.SlsaMaterial.Builder builderForValue)
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
addMaterialsBuilder()
public SlsaProvenanceZeroTwo.SlsaMaterial.Builder addMaterialsBuilder()
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
addMaterialsBuilder(int index)
public SlsaProvenanceZeroTwo.SlsaMaterial.Builder addMaterialsBuilder(int index)
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SlsaProvenanceZeroTwo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SlsaProvenanceZeroTwo build()
buildPartial()
public SlsaProvenanceZeroTwo buildPartial()
clear()
public SlsaProvenanceZeroTwo.Builder clear()
Overrides
clearBuildConfig()
public SlsaProvenanceZeroTwo.Builder clearBuildConfig()
.google.protobuf.Struct build_config = 4;
clearBuildType()
public SlsaProvenanceZeroTwo.Builder clearBuildType()
clearBuilder()
public SlsaProvenanceZeroTwo.Builder clearBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder builder = 1;
clearField(Descriptors.FieldDescriptor field)
public SlsaProvenanceZeroTwo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInvocation()
public SlsaProvenanceZeroTwo.Builder clearInvocation()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation invocation = 3;
clearMaterials()
public SlsaProvenanceZeroTwo.Builder clearMaterials()
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
public SlsaProvenanceZeroTwo.Builder clearMetadata()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata metadata = 5;
clearOneof(Descriptors.OneofDescriptor oneof)
public SlsaProvenanceZeroTwo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SlsaProvenanceZeroTwo.Builder clone()
Overrides
getBuildConfig()
public Struct getBuildConfig()
.google.protobuf.Struct build_config = 4;
Returns |
---|
Type | Description |
Struct | The buildConfig.
|
getBuildConfigBuilder()
public Struct.Builder getBuildConfigBuilder()
.google.protobuf.Struct build_config = 4;
getBuildConfigOrBuilder()
public StructOrBuilder getBuildConfigOrBuilder()
.google.protobuf.Struct build_config = 4;
getBuildType()
public String getBuildType()
Returns |
---|
Type | Description |
String | The buildType.
|
getBuildTypeBytes()
public ByteString getBuildTypeBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for buildType.
|
getBuilder()
public SlsaProvenanceZeroTwo.SlsaBuilder getBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder builder = 1;
getBuilderBuilder()
public SlsaProvenanceZeroTwo.SlsaBuilder.Builder getBuilderBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder builder = 1;
getBuilderOrBuilder()
public SlsaProvenanceZeroTwo.SlsaBuilderOrBuilder getBuilderOrBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder builder = 1;
getDefaultInstanceForType()
public SlsaProvenanceZeroTwo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInvocation()
public SlsaProvenanceZeroTwo.SlsaInvocation getInvocation()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation invocation = 3;
getInvocationBuilder()
public SlsaProvenanceZeroTwo.SlsaInvocation.Builder getInvocationBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation invocation = 3;
getInvocationOrBuilder()
public SlsaProvenanceZeroTwo.SlsaInvocationOrBuilder getInvocationOrBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation invocation = 3;
getMaterials(int index)
public SlsaProvenanceZeroTwo.SlsaMaterial getMaterials(int index)
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
Parameter |
---|
Name | Description |
index | int
|
getMaterialsBuilder(int index)
public SlsaProvenanceZeroTwo.SlsaMaterial.Builder getMaterialsBuilder(int index)
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
Parameter |
---|
Name | Description |
index | int
|
getMaterialsBuilderList()
public List<SlsaProvenanceZeroTwo.SlsaMaterial.Builder> getMaterialsBuilderList()
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
getMaterialsCount()
public int getMaterialsCount()
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
Returns |
---|
Type | Description |
int | |
getMaterialsList()
public List<SlsaProvenanceZeroTwo.SlsaMaterial> getMaterialsList()
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
getMaterialsOrBuilder(int index)
public SlsaProvenanceZeroTwo.SlsaMaterialOrBuilder getMaterialsOrBuilder(int index)
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
Parameter |
---|
Name | Description |
index | int
|
getMaterialsOrBuilderList()
public List<? extends SlsaProvenanceZeroTwo.SlsaMaterialOrBuilder> getMaterialsOrBuilderList()
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
Returns |
---|
Type | Description |
List<? extends io.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterialOrBuilder> | |
public SlsaProvenanceZeroTwo.SlsaMetadata getMetadata()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata metadata = 5;
public SlsaProvenanceZeroTwo.SlsaMetadata.Builder getMetadataBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata metadata = 5;
public SlsaProvenanceZeroTwo.SlsaMetadataOrBuilder getMetadataOrBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata metadata = 5;
hasBuildConfig()
public boolean hasBuildConfig()
.google.protobuf.Struct build_config = 4;
Returns |
---|
Type | Description |
boolean | Whether the buildConfig field is set.
|
hasBuilder()
public boolean hasBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder builder = 1;
Returns |
---|
Type | Description |
boolean | Whether the builder field is set.
|
hasInvocation()
public boolean hasInvocation()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation invocation = 3;
Returns |
---|
Type | Description |
boolean | Whether the invocation field is set.
|
public boolean hasMetadata()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata metadata = 5;
Returns |
---|
Type | Description |
boolean | Whether the metadata field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBuildConfig(Struct value)
public SlsaProvenanceZeroTwo.Builder mergeBuildConfig(Struct value)
.google.protobuf.Struct build_config = 4;
Parameter |
---|
Name | Description |
value | Struct
|
mergeBuilder(SlsaProvenanceZeroTwo.SlsaBuilder value)
public SlsaProvenanceZeroTwo.Builder mergeBuilder(SlsaProvenanceZeroTwo.SlsaBuilder value)
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder builder = 1;
public SlsaProvenanceZeroTwo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SlsaProvenanceZeroTwo.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(SlsaProvenanceZeroTwo other)
public SlsaProvenanceZeroTwo.Builder mergeFrom(SlsaProvenanceZeroTwo other)
mergeInvocation(SlsaProvenanceZeroTwo.SlsaInvocation value)
public SlsaProvenanceZeroTwo.Builder mergeInvocation(SlsaProvenanceZeroTwo.SlsaInvocation value)
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation invocation = 3;
public SlsaProvenanceZeroTwo.Builder mergeMetadata(SlsaProvenanceZeroTwo.SlsaMetadata value)
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata metadata = 5;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SlsaProvenanceZeroTwo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMaterials(int index)
public SlsaProvenanceZeroTwo.Builder removeMaterials(int index)
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
Parameter |
---|
Name | Description |
index | int
|
setBuildConfig(Struct value)
public SlsaProvenanceZeroTwo.Builder setBuildConfig(Struct value)
.google.protobuf.Struct build_config = 4;
Parameter |
---|
Name | Description |
value | Struct
|
setBuildConfig(Struct.Builder builderForValue)
public SlsaProvenanceZeroTwo.Builder setBuildConfig(Struct.Builder builderForValue)
.google.protobuf.Struct build_config = 4;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setBuildType(String value)
public SlsaProvenanceZeroTwo.Builder setBuildType(String value)
Parameter |
---|
Name | Description |
value | String
The buildType to set.
|
setBuildTypeBytes(ByteString value)
public SlsaProvenanceZeroTwo.Builder setBuildTypeBytes(ByteString value)
Parameter |
---|
Name | Description |
value | ByteString
The bytes for buildType to set.
|
setBuilder(SlsaProvenanceZeroTwo.SlsaBuilder value)
public SlsaProvenanceZeroTwo.Builder setBuilder(SlsaProvenanceZeroTwo.SlsaBuilder value)
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder builder = 1;
setBuilder(SlsaProvenanceZeroTwo.SlsaBuilder.Builder builderForValue)
public SlsaProvenanceZeroTwo.Builder setBuilder(SlsaProvenanceZeroTwo.SlsaBuilder.Builder builderForValue)
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder builder = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public SlsaProvenanceZeroTwo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInvocation(SlsaProvenanceZeroTwo.SlsaInvocation value)
public SlsaProvenanceZeroTwo.Builder setInvocation(SlsaProvenanceZeroTwo.SlsaInvocation value)
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation invocation = 3;
setInvocation(SlsaProvenanceZeroTwo.SlsaInvocation.Builder builderForValue)
public SlsaProvenanceZeroTwo.Builder setInvocation(SlsaProvenanceZeroTwo.SlsaInvocation.Builder builderForValue)
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaInvocation invocation = 3;
setMaterials(int index, SlsaProvenanceZeroTwo.SlsaMaterial value)
public SlsaProvenanceZeroTwo.Builder setMaterials(int index, SlsaProvenanceZeroTwo.SlsaMaterial value)
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
setMaterials(int index, SlsaProvenanceZeroTwo.SlsaMaterial.Builder builderForValue)
public SlsaProvenanceZeroTwo.Builder setMaterials(int index, SlsaProvenanceZeroTwo.SlsaMaterial.Builder builderForValue)
repeated .grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial materials = 6;
public SlsaProvenanceZeroTwo.Builder setMetadata(SlsaProvenanceZeroTwo.SlsaMetadata value)
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata metadata = 5;
public SlsaProvenanceZeroTwo.Builder setMetadata(SlsaProvenanceZeroTwo.SlsaMetadata.Builder builderForValue)
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata metadata = 5;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SlsaProvenanceZeroTwo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SlsaProvenanceZeroTwo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides