Package io.grafeas.v1beta1.provenance
Class Source.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
- io.grafeas.v1beta1.provenance.Source.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,SourceOrBuilder
,Cloneable
- Enclosing class:
- Source
public static final class Source.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Source.Builder> implements SourceOrBuilder
Source describes the location of the source used for the build.
Protobuf typegrafeas.v1beta1.provenance.Source
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Source.Builder
addAdditionalContexts(int index, SourceContext value)
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.Source.Builder
addAdditionalContexts(int index, SourceContext.Builder builderForValue)
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.Source.Builder
addAdditionalContexts(SourceContext value)
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.Source.Builder
addAdditionalContexts(SourceContext.Builder builderForValue)
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.SourceContext.Builder
addAdditionalContextsBuilder()
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.SourceContext.Builder
addAdditionalContextsBuilder(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.Source.Builder
addAllAdditionalContexts(Iterable<? extends SourceContext> values)
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.Source.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Source
build()
Source
buildPartial()
Source.Builder
clear()
Source.Builder
clearAdditionalContexts()
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.Source.Builder
clearArtifactStorageSourceUri()
If provided, the input binary artifacts for the build came from this location.Source.Builder
clearContext()
If provided, the source code used for the build came from this location.Source.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Source.Builder
clearFileHashes()
Source.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Source.Builder
clone()
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.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.SourceContext.Builder
getAdditionalContextsBuilder(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.List<SourceContext.Builder>
getAdditionalContextsBuilderList()
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.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.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.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.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.String
getArtifactStorageSourceUri()
If provided, the input binary artifacts for the build came from this location.com.google.protobuf.ByteString
getArtifactStorageSourceUriBytes()
If provided, the input binary artifacts for the build came from this location.SourceContext
getContext()
If provided, the source code used for the build came from this location.SourceContext.Builder
getContextBuilder()
If provided, the source code used for the build came from this location.SourceContextOrBuilder
getContextOrBuilder()
If provided, the source code used for the build came from this location.Source
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Map<String,FileHashes>
getFileHashes()
Deprecated.int
getFileHashesCount()
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.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.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.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.Map<String,FileHashes>
getMutableFileHashes()
Deprecated.boolean
hasContext()
If provided, the source code used for the build came from this location.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Source.Builder
mergeContext(SourceContext value)
If provided, the source code used for the build came from this location.Source.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Source.Builder
mergeFrom(com.google.protobuf.Message other)
Source.Builder
mergeFrom(Source other)
Source.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Source.Builder
putAllFileHashes(Map<String,FileHashes> values)
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.Source.Builder
putFileHashes(String key, FileHashes value)
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.Source.Builder
removeAdditionalContexts(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.Source.Builder
removeFileHashes(String key)
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.Source.Builder
setAdditionalContexts(int index, SourceContext value)
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.Source.Builder
setAdditionalContexts(int index, SourceContext.Builder builderForValue)
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.Source.Builder
setArtifactStorageSourceUri(String value)
If provided, the input binary artifacts for the build came from this location.Source.Builder
setArtifactStorageSourceUriBytes(com.google.protobuf.ByteString value)
If provided, the input binary artifacts for the build came from this location.Source.Builder
setContext(SourceContext value)
If provided, the source code used for the build came from this location.Source.Builder
setContext(SourceContext.Builder builderForValue)
If provided, the source code used for the build came from this location.Source.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Source.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Source.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
clear
public Source.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
getDefaultInstanceForType
public Source getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Source build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Source buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Source.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
setField
public Source.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
clearField
public Source.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
clearOneof
public Source.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
setRepeatedField
public Source.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
addRepeatedField
public Source.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
mergeFrom
public Source.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Source.Builder>
-
mergeFrom
public Source.Builder mergeFrom(Source other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
mergeFrom
public Source.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Source.Builder>
- Throws:
IOException
-
getArtifactStorageSourceUri
public String getArtifactStorageSourceUri()
If provided, the input binary artifacts for the build came from this location.
string artifact_storage_source_uri = 1;
- Specified by:
getArtifactStorageSourceUri
in interfaceSourceOrBuilder
- Returns:
- The artifactStorageSourceUri.
-
getArtifactStorageSourceUriBytes
public com.google.protobuf.ByteString getArtifactStorageSourceUriBytes()
If provided, the input binary artifacts for the build came from this location.
string artifact_storage_source_uri = 1;
- Specified by:
getArtifactStorageSourceUriBytes
in interfaceSourceOrBuilder
- Returns:
- The bytes for artifactStorageSourceUri.
-
setArtifactStorageSourceUri
public Source.Builder setArtifactStorageSourceUri(String value)
If provided, the input binary artifacts for the build came from this location.
string artifact_storage_source_uri = 1;
- Parameters:
value
- The artifactStorageSourceUri to set.- Returns:
- This builder for chaining.
-
clearArtifactStorageSourceUri
public Source.Builder clearArtifactStorageSourceUri()
If provided, the input binary artifacts for the build came from this location.
string artifact_storage_source_uri = 1;
- Returns:
- This builder for chaining.
-
setArtifactStorageSourceUriBytes
public Source.Builder setArtifactStorageSourceUriBytes(com.google.protobuf.ByteString value)
If provided, the input binary artifacts for the build came from this location.
string artifact_storage_source_uri = 1;
- Parameters:
value
- The bytes for artifactStorageSourceUri to set.- Returns:
- This builder for chaining.
-
getFileHashesCount
public int getFileHashesCount()
Description copied from interface:SourceOrBuilder
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.v1beta1.provenance.FileHashes> file_hashes = 2;
- Specified by:
getFileHashesCount
in interfaceSourceOrBuilder
-
containsFileHashes
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.v1beta1.provenance.FileHashes> file_hashes = 2;
- Specified by:
containsFileHashes
in interfaceSourceOrBuilder
-
getFileHashes
@Deprecated public Map<String,FileHashes> getFileHashes()
Deprecated.UsegetFileHashesMap()
instead.- Specified by:
getFileHashes
in interfaceSourceOrBuilder
-
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.v1beta1.provenance.FileHashes> file_hashes = 2;
- Specified by:
getFileHashesMap
in interfaceSourceOrBuilder
-
getFileHashesOrDefault
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.v1beta1.provenance.FileHashes> file_hashes = 2;
- Specified by:
getFileHashesOrDefault
in interfaceSourceOrBuilder
-
getFileHashesOrThrow
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.v1beta1.provenance.FileHashes> file_hashes = 2;
- Specified by:
getFileHashesOrThrow
in interfaceSourceOrBuilder
-
clearFileHashes
public Source.Builder clearFileHashes()
-
removeFileHashes
public Source.Builder removeFileHashes(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.v1beta1.provenance.FileHashes> file_hashes = 2;
-
getMutableFileHashes
@Deprecated public Map<String,FileHashes> getMutableFileHashes()
Deprecated.Use alternate mutation accessors instead.
-
putFileHashes
public Source.Builder putFileHashes(String key, FileHashes value)
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.v1beta1.provenance.FileHashes> file_hashes = 2;
-
putAllFileHashes
public Source.Builder putAllFileHashes(Map<String,FileHashes> values)
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.v1beta1.provenance.FileHashes> file_hashes = 2;
-
hasContext
public boolean hasContext()
If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3;
- Specified by:
hasContext
in interfaceSourceOrBuilder
- Returns:
- Whether the context field is set.
-
getContext
public SourceContext getContext()
If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3;
- Specified by:
getContext
in interfaceSourceOrBuilder
- Returns:
- The context.
-
setContext
public Source.Builder setContext(SourceContext value)
If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3;
-
setContext
public Source.Builder setContext(SourceContext.Builder builderForValue)
If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3;
-
mergeContext
public Source.Builder mergeContext(SourceContext value)
If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3;
-
clearContext
public Source.Builder clearContext()
If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3;
-
getContextBuilder
public SourceContext.Builder getContextBuilder()
If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3;
-
getContextOrBuilder
public SourceContextOrBuilder getContextOrBuilder()
If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3;
- Specified by:
getContextOrBuilder
in interfaceSourceOrBuilder
-
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.v1beta1.source.SourceContext additional_contexts = 4;
- Specified by:
getAdditionalContextsList
in interfaceSourceOrBuilder
-
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.v1beta1.source.SourceContext additional_contexts = 4;
- Specified by:
getAdditionalContextsCount
in interfaceSourceOrBuilder
-
getAdditionalContexts
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.v1beta1.source.SourceContext additional_contexts = 4;
- Specified by:
getAdditionalContexts
in interfaceSourceOrBuilder
-
setAdditionalContexts
public Source.Builder setAdditionalContexts(int index, SourceContext value)
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.v1beta1.source.SourceContext additional_contexts = 4;
-
setAdditionalContexts
public Source.Builder setAdditionalContexts(int index, SourceContext.Builder builderForValue)
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.v1beta1.source.SourceContext additional_contexts = 4;
-
addAdditionalContexts
public Source.Builder addAdditionalContexts(SourceContext value)
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.v1beta1.source.SourceContext additional_contexts = 4;
-
addAdditionalContexts
public Source.Builder addAdditionalContexts(int index, SourceContext value)
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.v1beta1.source.SourceContext additional_contexts = 4;
-
addAdditionalContexts
public Source.Builder addAdditionalContexts(SourceContext.Builder builderForValue)
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.v1beta1.source.SourceContext additional_contexts = 4;
-
addAdditionalContexts
public Source.Builder addAdditionalContexts(int index, SourceContext.Builder builderForValue)
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.v1beta1.source.SourceContext additional_contexts = 4;
-
addAllAdditionalContexts
public Source.Builder addAllAdditionalContexts(Iterable<? extends SourceContext> values)
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.v1beta1.source.SourceContext additional_contexts = 4;
-
clearAdditionalContexts
public Source.Builder clearAdditionalContexts()
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.v1beta1.source.SourceContext additional_contexts = 4;
-
removeAdditionalContexts
public Source.Builder removeAdditionalContexts(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.v1beta1.source.SourceContext additional_contexts = 4;
-
getAdditionalContextsBuilder
public SourceContext.Builder getAdditionalContextsBuilder(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.v1beta1.source.SourceContext additional_contexts = 4;
-
getAdditionalContextsOrBuilder
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.v1beta1.source.SourceContext additional_contexts = 4;
- Specified by:
getAdditionalContextsOrBuilder
in interfaceSourceOrBuilder
-
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.v1beta1.source.SourceContext additional_contexts = 4;
- Specified by:
getAdditionalContextsOrBuilderList
in interfaceSourceOrBuilder
-
addAdditionalContextsBuilder
public SourceContext.Builder addAdditionalContextsBuilder()
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.v1beta1.source.SourceContext additional_contexts = 4;
-
addAdditionalContextsBuilder
public SourceContext.Builder addAdditionalContextsBuilder(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.v1beta1.source.SourceContext additional_contexts = 4;
-
getAdditionalContextsBuilderList
public List<SourceContext.Builder> getAdditionalContextsBuilderList()
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.v1beta1.source.SourceContext additional_contexts = 4;
-
setUnknownFields
public final Source.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
mergeUnknownFields
public final Source.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Source.Builder>
-
-