- 2.74.0 (latest)
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public
final
class
Source
extends
GeneratedMessageV3
implements
SourceOrBuilder
Source describes the location of the source used for the build.
Protobuf type grafeas.v1.Source
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SourceImplements
SourceOrBuilderStatic Fields
ADDITIONAL_CONTEXTS_FIELD_NUMBER
public
static
final
int
ADDITIONAL_CONTEXTS_FIELD_NUMBER
ARTIFACT_STORAGE_SOURCE_URI_FIELD_NUMBER
public
static
final
int
ARTIFACT_STORAGE_SOURCE_URI_FIELD_NUMBER
CONTEXT_FIELD_NUMBER
public
static
final
int
CONTEXT_FIELD_NUMBER
FILE_HASHES_FIELD_NUMBER
public
static
final
int
FILE_HASHES_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Source
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Source
.
Builder
newBuilder
()
newBuilder(Source prototype)
public
static
Source
.
Builder
newBuilder
(
Source
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Source
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Source
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Source
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Source
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Source
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Source
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Source
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Source
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Source
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Source
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Source
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Source
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Source>
parser
()
Methods
containsFileHashes(String key)
public
boolean
containsFileHashes
(
String
key
)
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.
The keys to this map are file paths used as build source and the values contain the hash values for those files.
If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
map<string, .grafeas.v1.FileHashes> file_hashes = 2;
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getAdditionalContexts(int index)
public
SourceContext
getAdditionalContexts
(
int
index
)
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.
repeated .grafeas.v1.SourceContext additional_contexts = 4;
getAdditionalContextsCount()
public
int
getAdditionalContextsCount
()
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.
repeated .grafeas.v1.SourceContext additional_contexts = 4;
getAdditionalContextsList()
public
List<SourceContext>
getAdditionalContextsList
()
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.
repeated .grafeas.v1.SourceContext additional_contexts = 4;
getAdditionalContextsOrBuilder(int index)
public
SourceContextOrBuilder
getAdditionalContextsOrBuilder
(
int
index
)
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.
repeated .grafeas.v1.SourceContext additional_contexts = 4;
getAdditionalContextsOrBuilderList()
public
List
< ?
extends
SourceContextOrBuilder
>
getAdditionalContextsOrBuilderList
()
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.
repeated .grafeas.v1.SourceContext additional_contexts = 4;
getArtifactStorageSourceUri()
public
String
getArtifactStorageSourceUri
()
If provided, the input binary artifacts for the build came from this location.
string artifact_storage_source_uri = 1;
getArtifactStorageSourceUriBytes()
public
ByteString
getArtifactStorageSourceUriBytes
()
If provided, the input binary artifacts for the build came from this location.
string artifact_storage_source_uri = 1;
getContext()
public
SourceContext
getContext
()
If provided, the source code used for the build came from this location.
.grafeas.v1.SourceContext context = 3;
getContextOrBuilder()
public
SourceContextOrBuilder
getContextOrBuilder
()
If provided, the source code used for the build came from this location.
.grafeas.v1.SourceContext context = 3;
getDefaultInstanceForType()
public
Source
getDefaultInstanceForType
()
getFileHashes()
public
Map<String
,
FileHashes
>
getFileHashes
()
Use #getFileHashesMap() instead.
getFileHashesCount()
public
int
getFileHashesCount
()
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.
The keys to this map are file paths used as build source and the values contain the hash values for those files.
If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
map<string, .grafeas.v1.FileHashes> file_hashes = 2;
getFileHashesMap()
public
Map<String
,
FileHashes
>
getFileHashesMap
()
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.
The keys to this map are file paths used as build source and the values contain the hash values for those files.
If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
map<string, .grafeas.v1.FileHashes> file_hashes = 2;
getFileHashesOrDefault(String key, FileHashes defaultValue)
public
FileHashes
getFileHashesOrDefault
(
String
key
,
FileHashes
defaultValue
)
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.
The keys to this map are file paths used as build source and the values contain the hash values for those files.
If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
map<string, .grafeas.v1.FileHashes> file_hashes = 2;
getFileHashesOrThrow(String key)
public
FileHashes
getFileHashesOrThrow
(
String
key
)
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.
The keys to this map are file paths used as build source and the values contain the hash values for those files.
If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
map<string, .grafeas.v1.FileHashes> file_hashes = 2;
getParserForType()
public
Parser<Source>
getParserForType
()
getSerializedSize()
public
int
getSerializedSize
()
hasContext()
public
boolean
hasContext
()
If provided, the source code used for the build came from this location.
.grafeas.v1.SourceContext context = 3;
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
internalGetMapField(int number)
protected
MapField
internalGetMapField
(
int
number
)
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Source
.
Builder
newBuilderForType
()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
Source
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
toBuilder()
public
Source
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)