Package io.grafeas.v1beta1
Class Occurrence.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
- io.grafeas.v1beta1.Occurrence.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,OccurrenceOrBuilder,Cloneable
- Enclosing class:
- Occurrence
public static final class Occurrence.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder> implements OccurrenceOrBuilder
An instance of an analysis type that has been found on a resource.
Protobuf typegrafeas.v1beta1.Occurrence
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Occurrence.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Occurrencebuild()OccurrencebuildPartial()Occurrence.Builderclear()Occurrence.BuilderclearAttestation()Describes an attestation of an artifact.Occurrence.BuilderclearBuild()Describes a verifiable build.Occurrence.BuilderclearCreateTime()Output only.Occurrence.BuilderclearDeployment()Describes the deployment of an artifact on a runtime.Occurrence.BuilderclearDerivedImage()Describes how this resource derives from the basis in the associated note.Occurrence.BuilderclearDetails()Occurrence.BuilderclearDiscovered()Describes when a resource was discovered.Occurrence.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Occurrence.BuilderclearInstallation()Describes the installation of a package on the linked resource.Occurrence.BuilderclearKind()Output only.Occurrence.BuilderclearName()Output only.Occurrence.BuilderclearNoteName()Required.Occurrence.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Occurrence.BuilderclearRemediation()A description of actions that can be taken to remedy the note.Occurrence.BuilderclearResource()Required.Occurrence.BuilderclearUpdateTime()Output only.Occurrence.BuilderclearVulnerability()Describes a security vulnerability.Occurrence.Builderclone()DetailsgetAttestation()Describes an attestation of an artifact.Details.BuildergetAttestationBuilder()Describes an attestation of an artifact.DetailsOrBuildergetAttestationOrBuilder()Describes an attestation of an artifact.DetailsgetBuild()Describes a verifiable build.Details.BuildergetBuildBuilder()Describes a verifiable build.DetailsOrBuildergetBuildOrBuilder()Describes a verifiable build.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.OccurrencegetDefaultInstanceForType()DetailsgetDeployment()Describes the deployment of an artifact on a runtime.Details.BuildergetDeploymentBuilder()Describes the deployment of an artifact on a runtime.DetailsOrBuildergetDeploymentOrBuilder()Describes the deployment of an artifact on a runtime.DetailsgetDerivedImage()Describes how this resource derives from the basis in the associated note.Details.BuildergetDerivedImageBuilder()Describes how this resource derives from the basis in the associated note.DetailsOrBuildergetDerivedImageOrBuilder()Describes how this resource derives from the basis in the associated note.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Occurrence.DetailsCasegetDetailsCase()DetailsgetDiscovered()Describes when a resource was discovered.Details.BuildergetDiscoveredBuilder()Describes when a resource was discovered.DetailsOrBuildergetDiscoveredOrBuilder()Describes when a resource was discovered.DetailsgetInstallation()Describes the installation of a package on the linked resource.Details.BuildergetInstallationBuilder()Describes the installation of a package on the linked resource.DetailsOrBuildergetInstallationOrBuilder()Describes the installation of a package on the linked resource.NoteKindgetKind()Output only.intgetKindValue()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetNoteName()Required.com.google.protobuf.ByteStringgetNoteNameBytes()Required.StringgetRemediation()A description of actions that can be taken to remedy the note.com.google.protobuf.ByteStringgetRemediationBytes()A description of actions that can be taken to remedy the note.ResourcegetResource()Required.Resource.BuildergetResourceBuilder()Required.ResourceOrBuildergetResourceOrBuilder()Required.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.DetailsgetVulnerability()Describes a security vulnerability.Details.BuildergetVulnerabilityBuilder()Describes a security vulnerability.DetailsOrBuildergetVulnerabilityOrBuilder()Describes a security vulnerability.booleanhasAttestation()Describes an attestation of an artifact.booleanhasBuild()Describes a verifiable build.booleanhasCreateTime()Output only.booleanhasDeployment()Describes the deployment of an artifact on a runtime.booleanhasDerivedImage()Describes how this resource derives from the basis in the associated note.booleanhasDiscovered()Describes when a resource was discovered.booleanhasInstallation()Describes the installation of a package on the linked resource.booleanhasResource()Required.booleanhasUpdateTime()Output only.booleanhasVulnerability()Describes a security vulnerability.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Occurrence.BuildermergeAttestation(Details value)Describes an attestation of an artifact.Occurrence.BuildermergeBuild(Details value)Describes a verifiable build.Occurrence.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Occurrence.BuildermergeDeployment(Details value)Describes the deployment of an artifact on a runtime.Occurrence.BuildermergeDerivedImage(Details value)Describes how this resource derives from the basis in the associated note.Occurrence.BuildermergeDiscovered(Details value)Describes when a resource was discovered.Occurrence.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Occurrence.BuildermergeFrom(com.google.protobuf.Message other)Occurrence.BuildermergeFrom(Occurrence other)Occurrence.BuildermergeInstallation(Details value)Describes the installation of a package on the linked resource.Occurrence.BuildermergeResource(Resource value)Required.Occurrence.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Occurrence.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Occurrence.BuildermergeVulnerability(Details value)Describes a security vulnerability.Occurrence.BuildersetAttestation(Details value)Describes an attestation of an artifact.Occurrence.BuildersetAttestation(Details.Builder builderForValue)Describes an attestation of an artifact.Occurrence.BuildersetBuild(Details value)Describes a verifiable build.Occurrence.BuildersetBuild(Details.Builder builderForValue)Describes a verifiable build.Occurrence.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Occurrence.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Occurrence.BuildersetDeployment(Details value)Describes the deployment of an artifact on a runtime.Occurrence.BuildersetDeployment(Details.Builder builderForValue)Describes the deployment of an artifact on a runtime.Occurrence.BuildersetDerivedImage(Details value)Describes how this resource derives from the basis in the associated note.Occurrence.BuildersetDerivedImage(Details.Builder builderForValue)Describes how this resource derives from the basis in the associated note.Occurrence.BuildersetDiscovered(Details value)Describes when a resource was discovered.Occurrence.BuildersetDiscovered(Details.Builder builderForValue)Describes when a resource was discovered.Occurrence.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Occurrence.BuildersetInstallation(Details value)Describes the installation of a package on the linked resource.Occurrence.BuildersetInstallation(Details.Builder builderForValue)Describes the installation of a package on the linked resource.Occurrence.BuildersetKind(NoteKind value)Output only.Occurrence.BuildersetKindValue(int value)Output only.Occurrence.BuildersetName(String value)Output only.Occurrence.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Occurrence.BuildersetNoteName(String value)Required.Occurrence.BuildersetNoteNameBytes(com.google.protobuf.ByteString value)Required.Occurrence.BuildersetRemediation(String value)A description of actions that can be taken to remedy the note.Occurrence.BuildersetRemediationBytes(com.google.protobuf.ByteString value)A description of actions that can be taken to remedy the note.Occurrence.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Occurrence.BuildersetResource(Resource value)Required.Occurrence.BuildersetResource(Resource.Builder builderForValue)Required.Occurrence.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Occurrence.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Occurrence.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Occurrence.BuildersetVulnerability(Details value)Describes a security vulnerability.Occurrence.BuildersetVulnerability(Details.Builder builderForValue)Describes a security vulnerability.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
clear
public Occurrence.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
getDefaultInstanceForType
public Occurrence getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Occurrence build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Occurrence buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Occurrence.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
setField
public Occurrence.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
clearField
public Occurrence.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
clearOneof
public Occurrence.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
setRepeatedField
public Occurrence.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
addRepeatedField
public Occurrence.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
mergeFrom
public Occurrence.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Occurrence.Builder>
-
mergeFrom
public Occurrence.Builder mergeFrom(Occurrence other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
mergeFrom
public Occurrence.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Occurrence.Builder>- Throws:
IOException
-
getDetailsCase
public Occurrence.DetailsCase getDetailsCase()
- Specified by:
getDetailsCasein interfaceOccurrenceOrBuilder
-
clearDetails
public Occurrence.Builder clearDetails()
-
getName
public String getName()
Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
string name = 1;- Specified by:
getNamein interfaceOccurrenceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
string name = 1;- Specified by:
getNameBytesin interfaceOccurrenceOrBuilder- Returns:
- The bytes for name.
-
setName
public Occurrence.Builder setName(String value)
Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Occurrence.Builder clearName()
Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public Occurrence.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasResource
public boolean hasResource()
Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;- Specified by:
hasResourcein interfaceOccurrenceOrBuilder- Returns:
- Whether the resource field is set.
-
getResource
public Resource getResource()
Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;- Specified by:
getResourcein interfaceOccurrenceOrBuilder- Returns:
- The resource.
-
setResource
public Occurrence.Builder setResource(Resource value)
Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;
-
setResource
public Occurrence.Builder setResource(Resource.Builder builderForValue)
Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;
-
mergeResource
public Occurrence.Builder mergeResource(Resource value)
Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;
-
clearResource
public Occurrence.Builder clearResource()
Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;
-
getResourceBuilder
public Resource.Builder getResourceBuilder()
Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;
-
getResourceOrBuilder
public ResourceOrBuilder getResourceOrBuilder()
Required. Immutable. The resource for which the occurrence applies.
.grafeas.v1beta1.Resource resource = 2;- Specified by:
getResourceOrBuilderin interfaceOccurrenceOrBuilder
-
getNoteName
public String getNoteName()
Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
string note_name = 3;- Specified by:
getNoteNamein interfaceOccurrenceOrBuilder- Returns:
- The noteName.
-
getNoteNameBytes
public com.google.protobuf.ByteString getNoteNameBytes()
Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
string note_name = 3;- Specified by:
getNoteNameBytesin interfaceOccurrenceOrBuilder- Returns:
- The bytes for noteName.
-
setNoteName
public Occurrence.Builder setNoteName(String value)
Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
string note_name = 3;- Parameters:
value- The noteName to set.- Returns:
- This builder for chaining.
-
clearNoteName
public Occurrence.Builder clearNoteName()
Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
string note_name = 3;- Returns:
- This builder for chaining.
-
setNoteNameBytes
public Occurrence.Builder setNoteNameBytes(com.google.protobuf.ByteString value)
Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
string note_name = 3;- Parameters:
value- The bytes for noteName to set.- Returns:
- This builder for chaining.
-
getKindValue
public int getKindValue()
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;- Specified by:
getKindValuein interfaceOccurrenceOrBuilder- Returns:
- The enum numeric value on the wire for kind.
-
setKindValue
public Occurrence.Builder setKindValue(int value)
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;- Parameters:
value- The enum numeric value on the wire for kind to set.- Returns:
- This builder for chaining.
-
getKind
public NoteKind getKind()
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;- Specified by:
getKindin interfaceOccurrenceOrBuilder- Returns:
- The kind.
-
setKind
public Occurrence.Builder setKind(NoteKind value)
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
public Occurrence.Builder clearKind()
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;- Returns:
- This builder for chaining.
-
getRemediation
public String getRemediation()
A description of actions that can be taken to remedy the note.
string remediation = 5;- Specified by:
getRemediationin interfaceOccurrenceOrBuilder- Returns:
- The remediation.
-
getRemediationBytes
public com.google.protobuf.ByteString getRemediationBytes()
A description of actions that can be taken to remedy the note.
string remediation = 5;- Specified by:
getRemediationBytesin interfaceOccurrenceOrBuilder- Returns:
- The bytes for remediation.
-
setRemediation
public Occurrence.Builder setRemediation(String value)
A description of actions that can be taken to remedy the note.
string remediation = 5;- Parameters:
value- The remediation to set.- Returns:
- This builder for chaining.
-
clearRemediation
public Occurrence.Builder clearRemediation()
A description of actions that can be taken to remedy the note.
string remediation = 5;- Returns:
- This builder for chaining.
-
setRemediationBytes
public Occurrence.Builder setRemediationBytes(com.google.protobuf.ByteString value)
A description of actions that can be taken to remedy the note.
string remediation = 5;- Parameters:
value- The bytes for remediation to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
hasCreateTimein interfaceOccurrenceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimein interfaceOccurrenceOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Occurrence.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
-
setCreateTime
public Occurrence.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
-
mergeCreateTime
public Occurrence.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
-
clearCreateTime
public Occurrence.Builder clearCreateTime()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time this occurrence was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimeOrBuilderin interfaceOccurrenceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;- Specified by:
hasUpdateTimein interfaceOccurrenceOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;- Specified by:
getUpdateTimein interfaceOccurrenceOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public Occurrence.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
-
setUpdateTime
public Occurrence.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
-
mergeUpdateTime
public Occurrence.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
-
clearUpdateTime
public Occurrence.Builder clearUpdateTime()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;- Specified by:
getUpdateTimeOrBuilderin interfaceOccurrenceOrBuilder
-
hasVulnerability
public boolean hasVulnerability()
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;- Specified by:
hasVulnerabilityin interfaceOccurrenceOrBuilder- Returns:
- Whether the vulnerability field is set.
-
getVulnerability
public Details getVulnerability()
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;- Specified by:
getVulnerabilityin interfaceOccurrenceOrBuilder- Returns:
- The vulnerability.
-
setVulnerability
public Occurrence.Builder setVulnerability(Details value)
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;
-
setVulnerability
public Occurrence.Builder setVulnerability(Details.Builder builderForValue)
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;
-
mergeVulnerability
public Occurrence.Builder mergeVulnerability(Details value)
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;
-
clearVulnerability
public Occurrence.Builder clearVulnerability()
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;
-
getVulnerabilityBuilder
public Details.Builder getVulnerabilityBuilder()
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;
-
getVulnerabilityOrBuilder
public DetailsOrBuilder getVulnerabilityOrBuilder()
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;- Specified by:
getVulnerabilityOrBuilderin interfaceOccurrenceOrBuilder
-
hasBuild
public boolean hasBuild()
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;- Specified by:
hasBuildin interfaceOccurrenceOrBuilder- Returns:
- Whether the build field is set.
-
getBuild
public Details getBuild()
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;- Specified by:
getBuildin interfaceOccurrenceOrBuilder- Returns:
- The build.
-
setBuild
public Occurrence.Builder setBuild(Details value)
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;
-
setBuild
public Occurrence.Builder setBuild(Details.Builder builderForValue)
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;
-
mergeBuild
public Occurrence.Builder mergeBuild(Details value)
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;
-
clearBuild
public Occurrence.Builder clearBuild()
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;
-
getBuildBuilder
public Details.Builder getBuildBuilder()
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;
-
getBuildOrBuilder
public DetailsOrBuilder getBuildOrBuilder()
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;- Specified by:
getBuildOrBuilderin interfaceOccurrenceOrBuilder
-
hasDerivedImage
public boolean hasDerivedImage()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10;- Specified by:
hasDerivedImagein interfaceOccurrenceOrBuilder- Returns:
- Whether the derivedImage field is set.
-
getDerivedImage
public Details getDerivedImage()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10;- Specified by:
getDerivedImagein interfaceOccurrenceOrBuilder- Returns:
- The derivedImage.
-
setDerivedImage
public Occurrence.Builder setDerivedImage(Details value)
Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10;
-
setDerivedImage
public Occurrence.Builder setDerivedImage(Details.Builder builderForValue)
Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10;
-
mergeDerivedImage
public Occurrence.Builder mergeDerivedImage(Details value)
Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10;
-
clearDerivedImage
public Occurrence.Builder clearDerivedImage()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10;
-
getDerivedImageBuilder
public Details.Builder getDerivedImageBuilder()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10;
-
getDerivedImageOrBuilder
public DetailsOrBuilder getDerivedImageOrBuilder()
Describes how this resource derives from the basis in the associated note.
.grafeas.v1beta1.image.Details derived_image = 10;- Specified by:
getDerivedImageOrBuilderin interfaceOccurrenceOrBuilder
-
hasInstallation
public boolean hasInstallation()
Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;- Specified by:
hasInstallationin interfaceOccurrenceOrBuilder- Returns:
- Whether the installation field is set.
-
getInstallation
public Details getInstallation()
Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;- Specified by:
getInstallationin interfaceOccurrenceOrBuilder- Returns:
- The installation.
-
setInstallation
public Occurrence.Builder setInstallation(Details value)
Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;
-
setInstallation
public Occurrence.Builder setInstallation(Details.Builder builderForValue)
Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;
-
mergeInstallation
public Occurrence.Builder mergeInstallation(Details value)
Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;
-
clearInstallation
public Occurrence.Builder clearInstallation()
Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;
-
getInstallationBuilder
public Details.Builder getInstallationBuilder()
Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;
-
getInstallationOrBuilder
public DetailsOrBuilder getInstallationOrBuilder()
Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;- Specified by:
getInstallationOrBuilderin interfaceOccurrenceOrBuilder
-
hasDeployment
public boolean hasDeployment()
Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;- Specified by:
hasDeploymentin interfaceOccurrenceOrBuilder- Returns:
- Whether the deployment field is set.
-
getDeployment
public Details getDeployment()
Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;- Specified by:
getDeploymentin interfaceOccurrenceOrBuilder- Returns:
- The deployment.
-
setDeployment
public Occurrence.Builder setDeployment(Details value)
Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;
-
setDeployment
public Occurrence.Builder setDeployment(Details.Builder builderForValue)
Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;
-
mergeDeployment
public Occurrence.Builder mergeDeployment(Details value)
Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;
-
clearDeployment
public Occurrence.Builder clearDeployment()
Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;
-
getDeploymentBuilder
public Details.Builder getDeploymentBuilder()
Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;
-
getDeploymentOrBuilder
public DetailsOrBuilder getDeploymentOrBuilder()
Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;- Specified by:
getDeploymentOrBuilderin interfaceOccurrenceOrBuilder
-
hasDiscovered
public boolean hasDiscovered()
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;- Specified by:
hasDiscoveredin interfaceOccurrenceOrBuilder- Returns:
- Whether the discovered field is set.
-
getDiscovered
public Details getDiscovered()
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;- Specified by:
getDiscoveredin interfaceOccurrenceOrBuilder- Returns:
- The discovered.
-
setDiscovered
public Occurrence.Builder setDiscovered(Details value)
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;
-
setDiscovered
public Occurrence.Builder setDiscovered(Details.Builder builderForValue)
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;
-
mergeDiscovered
public Occurrence.Builder mergeDiscovered(Details value)
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;
-
clearDiscovered
public Occurrence.Builder clearDiscovered()
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;
-
getDiscoveredBuilder
public Details.Builder getDiscoveredBuilder()
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;
-
getDiscoveredOrBuilder
public DetailsOrBuilder getDiscoveredOrBuilder()
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;- Specified by:
getDiscoveredOrBuilderin interfaceOccurrenceOrBuilder
-
hasAttestation
public boolean hasAttestation()
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;- Specified by:
hasAttestationin interfaceOccurrenceOrBuilder- Returns:
- Whether the attestation field is set.
-
getAttestation
public Details getAttestation()
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;- Specified by:
getAttestationin interfaceOccurrenceOrBuilder- Returns:
- The attestation.
-
setAttestation
public Occurrence.Builder setAttestation(Details value)
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;
-
setAttestation
public Occurrence.Builder setAttestation(Details.Builder builderForValue)
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;
-
mergeAttestation
public Occurrence.Builder mergeAttestation(Details value)
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;
-
clearAttestation
public Occurrence.Builder clearAttestation()
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;
-
getAttestationBuilder
public Details.Builder getAttestationBuilder()
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;
-
getAttestationOrBuilder
public DetailsOrBuilder getAttestationOrBuilder()
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;- Specified by:
getAttestationOrBuilderin interfaceOccurrenceOrBuilder
-
setUnknownFields
public final Occurrence.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
mergeUnknownFields
public final Occurrence.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
-