public static final class SlsaProvenance.Material extends GeneratedMessageV3 implements SlsaProvenance.MaterialOrBuilder
Protobuf type grafeas.v1.SlsaProvenance.Material
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
DIGEST_FIELD_NUMBER
public static final int DIGEST_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SlsaProvenance.Material getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SlsaProvenance.Material.Builder newBuilder()
newBuilder(SlsaProvenance.Material prototype)
public static SlsaProvenance.Material.Builder newBuilder(SlsaProvenance.Material prototype)
public static SlsaProvenance.Material parseDelimitedFrom(InputStream input)
public static SlsaProvenance.Material parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SlsaProvenance.Material parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SlsaProvenance.Material parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SlsaProvenance.Material parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SlsaProvenance.Material parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SlsaProvenance.Material parseFrom(CodedInputStream input)
public static SlsaProvenance.Material parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SlsaProvenance.Material parseFrom(InputStream input)
public static SlsaProvenance.Material parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SlsaProvenance.Material parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SlsaProvenance.Material parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SlsaProvenance.Material> parser()
Methods
containsDigest(String key)
public boolean containsDigest(String key)
map<string, string> digest = 2;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public SlsaProvenance.Material getDefaultInstanceForType()
getDigest() (deprecated)
public Map<String,String> getDigest()
getDigestCount()
public int getDigestCount()
map<string, string> digest = 2;
Returns |
---|
Type | Description |
int | |
getDigestMap()
public Map<String,String> getDigestMap()
map<string, string> digest = 2;
getDigestOrDefault(String key, String defaultValue)
public String getDigestOrDefault(String key, String defaultValue)
map<string, string> digest = 2;
getDigestOrThrow(String key)
public String getDigestOrThrow(String key)
map<string, string> digest = 2;
Parameter |
---|
Name | Description |
key | String
|
getParserForType()
public Parser<SlsaProvenance.Material> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUri()
Returns |
---|
Type | Description |
String | The uri.
|
getUriBytes()
public ByteString getUriBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for uri.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SlsaProvenance.Material.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SlsaProvenance.Material.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SlsaProvenance.Material.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides