Class SlsaProvenanceZeroTwo.SlsaConfigSource (2.4.3)

Stay organized with collections Save and categorize content based on your preferences.
public static final class SlsaProvenanceZeroTwo.SlsaConfigSource extends GeneratedMessageV3 implements SlsaProvenanceZeroTwo.SlsaConfigSourceOrBuilder

Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from.

Protobuf type grafeas.v1.SlsaProvenanceZeroTwo.SlsaConfigSource

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SlsaProvenanceZeroTwo.SlsaConfigSource

Static Fields

DIGEST_FIELD_NUMBER

public static final int DIGEST_FIELD_NUMBER
Field Value
TypeDescription
int

ENTRY_POINT_FIELD_NUMBER

public static final int ENTRY_POINT_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SlsaProvenanceZeroTwo.SlsaConfigSource getDefaultInstance()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SlsaProvenanceZeroTwo.SlsaConfigSource.Builder newBuilder()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource.Builder

newBuilder(SlsaProvenanceZeroTwo.SlsaConfigSource prototype)

public static SlsaProvenanceZeroTwo.SlsaConfigSource.Builder newBuilder(SlsaProvenanceZeroTwo.SlsaConfigSource prototype)
Parameter
NameDescription
prototypeSlsaProvenanceZeroTwo.SlsaConfigSource
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource.Builder

parseDelimitedFrom(InputStream input)

public static SlsaProvenanceZeroTwo.SlsaConfigSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenanceZeroTwo.SlsaConfigSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SlsaProvenanceZeroTwo.SlsaConfigSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenanceZeroTwo.SlsaConfigSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SlsaProvenanceZeroTwo.SlsaConfigSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenanceZeroTwo.SlsaConfigSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SlsaProvenanceZeroTwo.SlsaConfigSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenanceZeroTwo.SlsaConfigSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SlsaProvenanceZeroTwo.SlsaConfigSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenanceZeroTwo.SlsaConfigSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SlsaProvenanceZeroTwo.SlsaConfigSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SlsaProvenanceZeroTwo.SlsaConfigSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SlsaProvenanceZeroTwo.SlsaConfigSource> parser()
Returns
TypeDescription
Parser<SlsaConfigSource>

Methods

containsDigest(String key)

public boolean containsDigest(String key)

map<string, string> digest = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SlsaProvenanceZeroTwo.SlsaConfigSource getDefaultInstanceForType()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource

getDigest()

public Map<String,String> getDigest()

Use #getDigestMap() instead.

Returns
TypeDescription
Map<String,String>

getDigestCount()

public int getDigestCount()

map<string, string> digest = 2;

Returns
TypeDescription
int

getDigestMap()

public Map<String,String> getDigestMap()

map<string, string> digest = 2;

Returns
TypeDescription
Map<String,String>

getDigestOrDefault(String key, String defaultValue)

public String getDigestOrDefault(String key, String defaultValue)

map<string, string> digest = 2;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getDigestOrThrow(String key)

public String getDigestOrThrow(String key)

map<string, string> digest = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getEntryPoint()

public String getEntryPoint()

string entry_point = 3;

Returns
TypeDescription
String

The entryPoint.

getEntryPointBytes()

public ByteString getEntryPointBytes()

string entry_point = 3;

Returns
TypeDescription
ByteString

The bytes for entryPoint.

getParserForType()

public Parser<SlsaProvenanceZeroTwo.SlsaConfigSource> getParserForType()
Returns
TypeDescription
Parser<SlsaConfigSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUri()

public String getUri()

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

string uri = 1;

Returns
TypeDescription
ByteString

The bytes for uri.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SlsaProvenanceZeroTwo.SlsaConfigSource.Builder newBuilderForType()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SlsaProvenanceZeroTwo.SlsaConfigSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SlsaProvenanceZeroTwo.SlsaConfigSource.Builder toBuilder()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaConfigSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException