Send feedback
Class InTotoSlsaProvenanceV1.ResourceDescriptor (2.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.54.0 keyboard_arrow_down
public static final class InTotoSlsaProvenanceV1 . ResourceDescriptor extends GeneratedMessageV3 implements InTotoSlsaProvenanceV1 . ResourceDescriptorOrBuilder
Protobuf type grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor
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
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
Type
Description
int
CONTENT_FIELD_NUMBER
public static final int CONTENT_FIELD_NUMBER
Field Value
Type
Description
int
DIGEST_FIELD_NUMBER
public static final int DIGEST_FIELD_NUMBER
Field Value
Type
Description
int
DOWNLOAD_LOCATION_FIELD_NUMBER
public static final int DOWNLOAD_LOCATION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int MEDIA_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
NAME_FIELD_NUMBER
public static final int NAME_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 InTotoSlsaProvenanceV1 . ResourceDescriptor getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static InTotoSlsaProvenanceV1 . ResourceDescriptor . Builder newBuilder ()
newBuilder(InTotoSlsaProvenanceV1.ResourceDescriptor prototype)
public static InTotoSlsaProvenanceV1 . ResourceDescriptor . Builder newBuilder ( InTotoSlsaProvenanceV1 . ResourceDescriptor prototype )
public static InTotoSlsaProvenanceV1 . ResourceDescriptor parseDelimitedFrom ( InputStream input )
public static InTotoSlsaProvenanceV1 . ResourceDescriptor parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static InTotoSlsaProvenanceV1 . ResourceDescriptor parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InTotoSlsaProvenanceV1 . ResourceDescriptor parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static InTotoSlsaProvenanceV1 . ResourceDescriptor parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InTotoSlsaProvenanceV1 . ResourceDescriptor parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static InTotoSlsaProvenanceV1 . ResourceDescriptor parseFrom ( CodedInputStream input )
public static InTotoSlsaProvenanceV1 . ResourceDescriptor parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static InTotoSlsaProvenanceV1 . ResourceDescriptor parseFrom ( InputStream input )
public static InTotoSlsaProvenanceV1 . ResourceDescriptor parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static InTotoSlsaProvenanceV1 . ResourceDescriptor parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InTotoSlsaProvenanceV1 . ResourceDescriptor parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<InTotoSlsaProvenanceV1 . ResourceDescriptor > parser ()
Methods
containsAnnotations(String key)
public boolean containsAnnotations ( String key )
map<string, .google.protobuf.Value> annotations = 7;
Parameter
Name
Description
key
String
containsDigest(String key)
public boolean containsDigest ( String key )
map<string, string> digest = 3;
Parameter
Name
Description
key
String
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAnnotations() (deprecated)
public Map<String , Value > getAnnotations ()
getAnnotationsCount()
public int getAnnotationsCount ()
map<string, .google.protobuf.Value> annotations = 7;
Returns
Type
Description
int
getAnnotationsMap()
public Map<String , Value > getAnnotationsMap ()
map<string, .google.protobuf.Value> annotations = 7;
getAnnotationsOrDefault(String key, Value defaultValue)
public Value getAnnotationsOrDefault ( String key , Value defaultValue )
map<string, .google.protobuf.Value> annotations = 7;
Parameters
Name
Description
key
String
defaultValue
Value
Returns
Type
Description
Value
getAnnotationsOrThrow(String key)
public Value getAnnotationsOrThrow ( String key )
map<string, .google.protobuf.Value> annotations = 7;
Parameter
Name
Description
key
String
Returns
Type
Description
Value
getContent()
public ByteString getContent ()
getDefaultInstanceForType()
public InTotoSlsaProvenanceV1 . ResourceDescriptor getDefaultInstanceForType ()
getDigest() (deprecated)
public Map<String , String > getDigest ()
getDigestCount()
public int getDigestCount ()
map<string, string> digest = 3;
Returns
Type
Description
int
getDigestMap()
public Map<String , String > getDigestMap ()
map<string, string> digest = 3;
getDigestOrDefault(String key, String defaultValue)
public String getDigestOrDefault ( String key , String defaultValue )
map<string, string> digest = 3;
Returns
Type
Description
String
getDigestOrThrow(String key)
public String getDigestOrThrow ( String key )
map<string, string> digest = 3;
Parameter
Name
Description
key
String
Returns
Type
Description
String
getDownloadLocation()
public String getDownloadLocation ()
string download_location = 5;
Returns
Type
Description
String
The downloadLocation.
getDownloadLocationBytes()
public ByteString getDownloadLocationBytes ()
string download_location = 5;
Returns
Type
Description
ByteString
The bytes for downloadLocation.
public String getMediaType ()
Returns
Type
Description
String
The mediaType.
public ByteString getMediaTypeBytes ()
Returns
Type
Description
ByteString
The bytes for mediaType.
getName()
Returns
Type
Description
String
The name.
getNameBytes()
public ByteString getNameBytes ()
Returns
Type
Description
ByteString
The bytes for name.
getParserForType()
public Parser<InTotoSlsaProvenanceV1 . ResourceDescriptor > 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
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection ( int number )
Parameter
Name
Description
number
int
Returns
Type
Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public InTotoSlsaProvenanceV1 . ResourceDescriptor . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InTotoSlsaProvenanceV1 . ResourceDescriptor . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public InTotoSlsaProvenanceV1 . ResourceDescriptor . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]