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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Occurrence
build()
Occurrence
buildPartial()
Occurrence.Builder
clear()
Occurrence.Builder
clearAttestation()
Describes an attestation of an artifact.Occurrence.Builder
clearBuild()
Describes a verifiable build.Occurrence.Builder
clearCreateTime()
Output only.Occurrence.Builder
clearDeployment()
Describes the deployment of an artifact on a runtime.Occurrence.Builder
clearDerivedImage()
Describes how this resource derives from the basis in the associated note.Occurrence.Builder
clearDetails()
Occurrence.Builder
clearDiscovered()
Describes when a resource was discovered.Occurrence.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Occurrence.Builder
clearInstallation()
Describes the installation of a package on the linked resource.Occurrence.Builder
clearKind()
Output only.Occurrence.Builder
clearName()
Output only.Occurrence.Builder
clearNoteName()
Required.Occurrence.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Occurrence.Builder
clearRemediation()
A description of actions that can be taken to remedy the note.Occurrence.Builder
clearResource()
Required.Occurrence.Builder
clearUpdateTime()
Output only.Occurrence.Builder
clearVulnerability()
Describes a security vulnerability.Occurrence.Builder
clone()
Details
getAttestation()
Describes an attestation of an artifact.Details.Builder
getAttestationBuilder()
Describes an attestation of an artifact.DetailsOrBuilder
getAttestationOrBuilder()
Describes an attestation of an artifact.Details
getBuild()
Describes a verifiable build.Details.Builder
getBuildBuilder()
Describes a verifiable build.DetailsOrBuilder
getBuildOrBuilder()
Describes a verifiable build.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Occurrence
getDefaultInstanceForType()
Details
getDeployment()
Describes the deployment of an artifact on a runtime.Details.Builder
getDeploymentBuilder()
Describes the deployment of an artifact on a runtime.DetailsOrBuilder
getDeploymentOrBuilder()
Describes the deployment of an artifact on a runtime.Details
getDerivedImage()
Describes how this resource derives from the basis in the associated note.Details.Builder
getDerivedImageBuilder()
Describes how this resource derives from the basis in the associated note.DetailsOrBuilder
getDerivedImageOrBuilder()
Describes how this resource derives from the basis in the associated note.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Occurrence.DetailsCase
getDetailsCase()
Details
getDiscovered()
Describes when a resource was discovered.Details.Builder
getDiscoveredBuilder()
Describes when a resource was discovered.DetailsOrBuilder
getDiscoveredOrBuilder()
Describes when a resource was discovered.Details
getInstallation()
Describes the installation of a package on the linked resource.Details.Builder
getInstallationBuilder()
Describes the installation of a package on the linked resource.DetailsOrBuilder
getInstallationOrBuilder()
Describes the installation of a package on the linked resource.NoteKind
getKind()
Output only.int
getKindValue()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getNoteName()
Required.com.google.protobuf.ByteString
getNoteNameBytes()
Required.String
getRemediation()
A description of actions that can be taken to remedy the note.com.google.protobuf.ByteString
getRemediationBytes()
A description of actions that can be taken to remedy the note.Resource
getResource()
Required.Resource.Builder
getResourceBuilder()
Required.ResourceOrBuilder
getResourceOrBuilder()
Required.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.Details
getVulnerability()
Describes a security vulnerability.Details.Builder
getVulnerabilityBuilder()
Describes a security vulnerability.DetailsOrBuilder
getVulnerabilityOrBuilder()
Describes a security vulnerability.boolean
hasAttestation()
Describes an attestation of an artifact.boolean
hasBuild()
Describes a verifiable build.boolean
hasCreateTime()
Output only.boolean
hasDeployment()
Describes the deployment of an artifact on a runtime.boolean
hasDerivedImage()
Describes how this resource derives from the basis in the associated note.boolean
hasDiscovered()
Describes when a resource was discovered.boolean
hasInstallation()
Describes the installation of a package on the linked resource.boolean
hasResource()
Required.boolean
hasUpdateTime()
Output only.boolean
hasVulnerability()
Describes a security vulnerability.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Occurrence.Builder
mergeAttestation(Details value)
Describes an attestation of an artifact.Occurrence.Builder
mergeBuild(Details value)
Describes a verifiable build.Occurrence.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Occurrence.Builder
mergeDeployment(Details value)
Describes the deployment of an artifact on a runtime.Occurrence.Builder
mergeDerivedImage(Details value)
Describes how this resource derives from the basis in the associated note.Occurrence.Builder
mergeDiscovered(Details value)
Describes when a resource was discovered.Occurrence.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Occurrence.Builder
mergeFrom(com.google.protobuf.Message other)
Occurrence.Builder
mergeFrom(Occurrence other)
Occurrence.Builder
mergeInstallation(Details value)
Describes the installation of a package on the linked resource.Occurrence.Builder
mergeResource(Resource value)
Required.Occurrence.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Occurrence.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Occurrence.Builder
mergeVulnerability(Details value)
Describes a security vulnerability.Occurrence.Builder
setAttestation(Details value)
Describes an attestation of an artifact.Occurrence.Builder
setAttestation(Details.Builder builderForValue)
Describes an attestation of an artifact.Occurrence.Builder
setBuild(Details value)
Describes a verifiable build.Occurrence.Builder
setBuild(Details.Builder builderForValue)
Describes a verifiable build.Occurrence.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Occurrence.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Occurrence.Builder
setDeployment(Details value)
Describes the deployment of an artifact on a runtime.Occurrence.Builder
setDeployment(Details.Builder builderForValue)
Describes the deployment of an artifact on a runtime.Occurrence.Builder
setDerivedImage(Details value)
Describes how this resource derives from the basis in the associated note.Occurrence.Builder
setDerivedImage(Details.Builder builderForValue)
Describes how this resource derives from the basis in the associated note.Occurrence.Builder
setDiscovered(Details value)
Describes when a resource was discovered.Occurrence.Builder
setDiscovered(Details.Builder builderForValue)
Describes when a resource was discovered.Occurrence.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Occurrence.Builder
setInstallation(Details value)
Describes the installation of a package on the linked resource.Occurrence.Builder
setInstallation(Details.Builder builderForValue)
Describes the installation of a package on the linked resource.Occurrence.Builder
setKind(NoteKind value)
Output only.Occurrence.Builder
setKindValue(int value)
Output only.Occurrence.Builder
setName(String value)
Output only.Occurrence.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Occurrence.Builder
setNoteName(String value)
Required.Occurrence.Builder
setNoteNameBytes(com.google.protobuf.ByteString value)
Required.Occurrence.Builder
setRemediation(String value)
A description of actions that can be taken to remedy the note.Occurrence.Builder
setRemediationBytes(com.google.protobuf.ByteString value)
A description of actions that can be taken to remedy the note.Occurrence.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Occurrence.Builder
setResource(Resource value)
Required.Occurrence.Builder
setResource(Resource.Builder builderForValue)
Required.Occurrence.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Occurrence.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Occurrence.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Occurrence.Builder
setVulnerability(Details value)
Describes a security vulnerability.Occurrence.Builder
setVulnerability(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
clear
public Occurrence.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<Occurrence.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<Occurrence.Builder>
-
getDefaultInstanceForType
public Occurrence getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Occurrence build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Occurrence buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Occurrence.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<Occurrence.Builder>
-
setField
public Occurrence.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<Occurrence.Builder>
-
clearField
public Occurrence.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<Occurrence.Builder>
-
clearOneof
public Occurrence.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<Occurrence.Builder>
-
setRepeatedField
public Occurrence.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<Occurrence.Builder>
-
addRepeatedField
public Occurrence.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<Occurrence.Builder>
-
mergeFrom
public Occurrence.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Occurrence.Builder>
-
mergeFrom
public Occurrence.Builder mergeFrom(Occurrence other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Occurrence.Builder>
- Throws:
IOException
-
getDetailsCase
public Occurrence.DetailsCase getDetailsCase()
- Specified by:
getDetailsCase
in 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:
getName
in 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:
getNameBytes
in 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:
hasResource
in 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:
getResource
in 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:
getResourceOrBuilder
in 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:
getNoteName
in 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:
getNoteNameBytes
in 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:
getKindValue
in 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:
getKind
in 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:
getRemediation
in 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:
getRemediationBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceOccurrenceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time this occurrence was last updated.
.google.protobuf.Timestamp update_time = 7;
- Specified by:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in interfaceOccurrenceOrBuilder
-
hasVulnerability
public boolean hasVulnerability()
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;
- Specified by:
hasVulnerability
in interfaceOccurrenceOrBuilder
- Returns:
- Whether the vulnerability field is set.
-
getVulnerability
public Details getVulnerability()
Describes a security vulnerability.
.grafeas.v1beta1.vulnerability.Details vulnerability = 8;
- Specified by:
getVulnerability
in 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:
getVulnerabilityOrBuilder
in interfaceOccurrenceOrBuilder
-
hasBuild
public boolean hasBuild()
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;
- Specified by:
hasBuild
in interfaceOccurrenceOrBuilder
- Returns:
- Whether the build field is set.
-
getBuild
public Details getBuild()
Describes a verifiable build.
.grafeas.v1beta1.build.Details build = 9;
- Specified by:
getBuild
in 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:
getBuildOrBuilder
in 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:
hasDerivedImage
in 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:
getDerivedImage
in 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:
getDerivedImageOrBuilder
in interfaceOccurrenceOrBuilder
-
hasInstallation
public boolean hasInstallation()
Describes the installation of a package on the linked resource.
.grafeas.v1beta1.package.Details installation = 11;
- Specified by:
hasInstallation
in 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:
getInstallation
in 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:
getInstallationOrBuilder
in interfaceOccurrenceOrBuilder
-
hasDeployment
public boolean hasDeployment()
Describes the deployment of an artifact on a runtime.
.grafeas.v1beta1.deployment.Details deployment = 12;
- Specified by:
hasDeployment
in 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:
getDeployment
in 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:
getDeploymentOrBuilder
in interfaceOccurrenceOrBuilder
-
hasDiscovered
public boolean hasDiscovered()
Describes when a resource was discovered.
.grafeas.v1beta1.discovery.Details discovered = 13;
- Specified by:
hasDiscovered
in 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:
getDiscovered
in 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:
getDiscoveredOrBuilder
in interfaceOccurrenceOrBuilder
-
hasAttestation
public boolean hasAttestation()
Describes an attestation of an artifact.
.grafeas.v1beta1.attestation.Details attestation = 14;
- Specified by:
hasAttestation
in 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:
getAttestation
in 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:
getAttestationOrBuilder
in interfaceOccurrenceOrBuilder
-
setUnknownFields
public final Occurrence.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
mergeUnknownFields
public final Occurrence.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
-
-