public RepeatedField<SourceContext> AdditionalContexts { get; }
If provided, some of the source code used for the build may be found in
these locations, in the case where the source repository had multiple
remotes or submodules. This list will not include the context specified in
the context field.
[[["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-09-04 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eSource\u003c/code\u003e class within the Grafeas v1 API, detailing its purpose as describing the location of the build's source code.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eSource\u003c/code\u003e class API is 3.7.0, with multiple previous versions listed and accessible, ranging back to version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSource\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, inheriting members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSource\u003c/code\u003e class includes properties such as \u003ccode\u003eAdditionalContexts\u003c/code\u003e, \u003ccode\u003eArtifactStorageSourceUri\u003c/code\u003e, \u003ccode\u003eContext\u003c/code\u003e, and \u003ccode\u003eFileHashes\u003c/code\u003e, providing details about the source code's location and integrity.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation contains information on the constructors available for the \u003ccode\u003eSource\u003c/code\u003e class, as well as the namespace (\u003ccode\u003eGrafeas.V1\u003c/code\u003e) and the assembly (\u003ccode\u003eGrafeas.V1.dll\u003c/code\u003e) where it resides.\u003c/p\u003e\n"]]],[],null,["# Grafeas v1 API - Class Source (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.Source)\n- [3.8.0](/dotnet/docs/reference/Grafeas.V1/3.8.0/Grafeas.V1.Source)\n- [3.7.0](/dotnet/docs/reference/Grafeas.V1/3.7.0/Grafeas.V1.Source)\n- [3.6.0](/dotnet/docs/reference/Grafeas.V1/3.6.0/Grafeas.V1.Source)\n- [3.5.0](/dotnet/docs/reference/Grafeas.V1/3.5.0/Grafeas.V1.Source)\n- [3.4.0](/dotnet/docs/reference/Grafeas.V1/3.4.0/Grafeas.V1.Source)\n- [3.3.0](/dotnet/docs/reference/Grafeas.V1/3.3.0/Grafeas.V1.Source)\n- [3.2.0](/dotnet/docs/reference/Grafeas.V1/3.2.0/Grafeas.V1.Source)\n- [3.1.0](/dotnet/docs/reference/Grafeas.V1/3.1.0/Grafeas.V1.Source)\n- [3.0.0](/dotnet/docs/reference/Grafeas.V1/3.0.0/Grafeas.V1.Source)\n- [2.4.0](/dotnet/docs/reference/Grafeas.V1/2.4.0/Grafeas.V1.Source)\n- [2.3.0](/dotnet/docs/reference/Grafeas.V1/2.3.0/Grafeas.V1.Source)\n- [2.2.0](/dotnet/docs/reference/Grafeas.V1/2.2.0/Grafeas.V1.Source) \n\n public sealed class Source : IMessage\u003cSource\u003e, IEquatable\u003cSource\u003e, IDeepCloneable\u003cSource\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Grafeas v1 API class Source.\n\nSource describes the location of the source used for the build. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Source \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Source](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.Source), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Source](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.Source), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Source](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.Source), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Grafeas.V1](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1)\n\nAssembly\n--------\n\nGrafeas.V1.dll\n\nConstructors\n------------\n\n### Source()\n\n public Source()\n\n### Source(Source)\n\n public Source(Source other)\n\nProperties\n----------\n\n### AdditionalContexts\n\n public RepeatedField\u003cSourceContext\u003e AdditionalContexts { get; }\n\nIf provided, some of the source code used for the build may be found in\nthese locations, in the case where the source repository had multiple\nremotes or submodules. This list will not include the context specified in\nthe context field.\n\n### ArtifactStorageSourceUri\n\n public string ArtifactStorageSourceUri { get; set; }\n\nIf provided, the input binary artifacts for the build came from this\nlocation.\n\n### Context\n\n public SourceContext Context { get; set; }\n\nIf provided, the source code used for the build came from this location.\n\n### FileHashes\n\n public MapField\u003cstring, FileHashes\u003e FileHashes { get; }\n\nHash(es) of the build source, which can be used to verify that the original\nsource integrity was maintained in the build.\n\nThe keys to this map are file paths used as build source and the values\ncontain the hash values for those files.\n\nIf the build source came in a single package such as a gzipped tarfile\n(.tar.gz), the FileHash will be for the single path to that file."]]