public final class SlsaProvenanceZeroTwo extends GeneratedMessageV3 implements SlsaProvenanceZeroTwoOrBuilder
See full explanation of fields at slsa.dev/provenance/v0.2.
Protobuf type grafeas.v1.SlsaProvenanceZeroTwo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BUILDER_FIELD_NUMBER
public static final int BUILDER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BUILD_CONFIG_FIELD_NUMBER
public static final int BUILD_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BUILD_TYPE_FIELD_NUMBER
public static final int BUILD_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
INVOCATION_FIELD_NUMBER
public static final int INVOCATION_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 |
|
Static Methods
getDefaultInstance()
public static SlsaProvenanceZeroTwo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SlsaProvenanceZeroTwo.Builder newBuilder()
newBuilder(SlsaProvenanceZeroTwo prototype)
public static SlsaProvenanceZeroTwo.Builder newBuilder(SlsaProvenanceZeroTwo prototype)
public static SlsaProvenanceZeroTwo parseDelimitedFrom(InputStream input)
public static SlsaProvenanceZeroTwo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SlsaProvenanceZeroTwo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SlsaProvenanceZeroTwo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SlsaProvenanceZeroTwo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SlsaProvenanceZeroTwo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SlsaProvenanceZeroTwo parseFrom(CodedInputStream input)
public static SlsaProvenanceZeroTwo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SlsaProvenanceZeroTwo parseFrom(InputStream input)
public static SlsaProvenanceZeroTwo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SlsaProvenanceZeroTwo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SlsaProvenanceZeroTwo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SlsaProvenanceZeroTwo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBuildConfig()
public Struct getBuildConfig()
.google.protobuf.Struct build_config = 4;
Returns |
Type |
Description |
Struct |
The buildConfig.
|
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;
getBuilderOrBuilder()
public SlsaProvenanceZeroTwo.SlsaBuilderOrBuilder getBuilderOrBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaBuilder builder = 1;
getDefaultInstanceForType()
public SlsaProvenanceZeroTwo getDefaultInstanceForType()
getInvocation()
public SlsaProvenanceZeroTwo.SlsaInvocation getInvocation()
.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
|
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.SlsaMetadataOrBuilder getMetadataOrBuilder()
.grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata metadata = 5;
getParserForType()
public Parser<SlsaProvenanceZeroTwo> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SlsaProvenanceZeroTwo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SlsaProvenanceZeroTwo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SlsaProvenanceZeroTwo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides