- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.10
- 2.3.1
- 2.2.16
public static final class Note.Builder extends GeneratedMessageV3.Builder<Note.Builder> implements NoteOrBuilder
A type of analysis that can be done for a resource.
Protobuf type grafeas.v1beta1.Note
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Note.BuilderImplements
NoteOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllRelatedNoteNames(Iterable<String> values)
public Note.Builder addAllRelatedNoteNames(Iterable<String> values)
Other notes related to this note.
repeated string related_note_names = 9;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The relatedNoteNames to add. |
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
addAllRelatedUrl(Iterable<? extends RelatedUrl> values)
public Note.Builder addAllRelatedUrl(Iterable<? extends RelatedUrl> values)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends io.grafeas.v1beta1.common.RelatedUrl> |
Returns | |
---|---|
Type | Description |
Note.Builder |
addRelatedNoteNames(String value)
public Note.Builder addRelatedNoteNames(String value)
Other notes related to this note.
repeated string related_note_names = 9;
Parameter | |
---|---|
Name | Description |
value |
String The relatedNoteNames to add. |
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
addRelatedNoteNamesBytes(ByteString value)
public Note.Builder addRelatedNoteNamesBytes(ByteString value)
Other notes related to this note.
repeated string related_note_names = 9;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the relatedNoteNames to add. |
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
addRelatedUrl(int index, RelatedUrl value)
public Note.Builder addRelatedUrl(int index, RelatedUrl value)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
RelatedUrl |
Returns | |
---|---|
Type | Description |
Note.Builder |
addRelatedUrl(int index, RelatedUrl.Builder builderForValue)
public Note.Builder addRelatedUrl(int index, RelatedUrl.Builder builderForValue)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
RelatedUrl.Builder |
Returns | |
---|---|
Type | Description |
Note.Builder |
addRelatedUrl(RelatedUrl value)
public Note.Builder addRelatedUrl(RelatedUrl value)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Parameter | |
---|---|
Name | Description |
value |
RelatedUrl |
Returns | |
---|---|
Type | Description |
Note.Builder |
addRelatedUrl(RelatedUrl.Builder builderForValue)
public Note.Builder addRelatedUrl(RelatedUrl.Builder builderForValue)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
RelatedUrl.Builder |
Returns | |
---|---|
Type | Description |
Note.Builder |
addRelatedUrlBuilder()
public RelatedUrl.Builder addRelatedUrlBuilder()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Returns | |
---|---|
Type | Description |
RelatedUrl.Builder |
addRelatedUrlBuilder(int index)
public RelatedUrl.Builder addRelatedUrlBuilder(int index)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RelatedUrl.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Note.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Note.Builder |
build()
public Note build()
Returns | |
---|---|
Type | Description |
Note |
buildPartial()
public Note buildPartial()
Returns | |
---|---|
Type | Description |
Note |
clear()
public Note.Builder clear()
Returns | |
---|---|
Type | Description |
Note.Builder |
clearAttestationAuthority()
public Note.Builder clearAttestationAuthority()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;
Returns | |
---|---|
Type | Description |
Note.Builder |
clearBaseImage()
public Note.Builder clearBaseImage()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;
Returns | |
---|---|
Type | Description |
Note.Builder |
clearBuild()
public Note.Builder clearBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;
Returns | |
---|---|
Type | Description |
Note.Builder |
clearCreateTime()
public Note.Builder clearCreateTime()
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
Returns | |
---|---|
Type | Description |
Note.Builder |
clearDeployable()
public Note.Builder clearDeployable()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;
Returns | |
---|---|
Type | Description |
Note.Builder |
clearDiscovery()
public Note.Builder clearDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;
Returns | |
---|---|
Type | Description |
Note.Builder |
clearExpirationTime()
public Note.Builder clearExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Returns | |
---|---|
Type | Description |
Note.Builder |
clearField(Descriptors.FieldDescriptor field)
public Note.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Note.Builder |
clearKind()
public Note.Builder clearKind()
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
clearLongDescription()
public Note.Builder clearLongDescription()
A detailed description of this note.
string long_description = 3;
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
clearName()
public Note.Builder clearName()
Output only. The name of the note in the form of
projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string name = 1;
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Note.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Note.Builder |
clearPackage()
public Note.Builder clearPackage()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;
Returns | |
---|---|
Type | Description |
Note.Builder |
clearRelatedNoteNames()
public Note.Builder clearRelatedNoteNames()
Other notes related to this note.
repeated string related_note_names = 9;
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
clearRelatedUrl()
public Note.Builder clearRelatedUrl()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Returns | |
---|---|
Type | Description |
Note.Builder |
clearShortDescription()
public Note.Builder clearShortDescription()
A one sentence description of this note.
string short_description = 2;
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
clearType()
public Note.Builder clearType()
Returns | |
---|---|
Type | Description |
Note.Builder |
clearUpdateTime()
public Note.Builder clearUpdateTime()
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
Returns | |
---|---|
Type | Description |
Note.Builder |
clearVulnerability()
public Note.Builder clearVulnerability()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
Returns | |
---|---|
Type | Description |
Note.Builder |
clone()
public Note.Builder clone()
Returns | |
---|---|
Type | Description |
Note.Builder |
getAttestationAuthority()
public Authority getAttestationAuthority()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;
Returns | |
---|---|
Type | Description |
Authority |
The attestationAuthority. |
getAttestationAuthorityBuilder()
public Authority.Builder getAttestationAuthorityBuilder()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;
Returns | |
---|---|
Type | Description |
Authority.Builder |
getAttestationAuthorityOrBuilder()
public AuthorityOrBuilder getAttestationAuthorityOrBuilder()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;
Returns | |
---|---|
Type | Description |
AuthorityOrBuilder |
getBaseImage()
public Basis getBaseImage()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;
Returns | |
---|---|
Type | Description |
Basis |
The baseImage. |
getBaseImageBuilder()
public Basis.Builder getBaseImageBuilder()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;
Returns | |
---|---|
Type | Description |
Basis.Builder |
getBaseImageOrBuilder()
public BasisOrBuilder getBaseImageOrBuilder()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;
Returns | |
---|---|
Type | Description |
BasisOrBuilder |
getBuild()
public Build getBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;
Returns | |
---|---|
Type | Description |
Build |
The build. |
getBuildBuilder()
public Build.Builder getBuildBuilder()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;
Returns | |
---|---|
Type | Description |
Build.Builder |
getBuildOrBuilder()
public BuildOrBuilder getBuildOrBuilder()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;
Returns | |
---|---|
Type | Description |
BuildOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Note getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Note |
getDeployable()
public Deployable getDeployable()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;
Returns | |
---|---|
Type | Description |
Deployable |
The deployable. |
getDeployableBuilder()
public Deployable.Builder getDeployableBuilder()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;
Returns | |
---|---|
Type | Description |
Deployable.Builder |
getDeployableOrBuilder()
public DeployableOrBuilder getDeployableOrBuilder()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;
Returns | |
---|---|
Type | Description |
DeployableOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDiscovery()
public Discovery getDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;
Returns | |
---|---|
Type | Description |
Discovery |
The discovery. |
getDiscoveryBuilder()
public Discovery.Builder getDiscoveryBuilder()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;
Returns | |
---|---|
Type | Description |
Discovery.Builder |
getDiscoveryOrBuilder()
public DiscoveryOrBuilder getDiscoveryOrBuilder()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;
Returns | |
---|---|
Type | Description |
DiscoveryOrBuilder |
getExpirationTime()
public Timestamp getExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Returns | |
---|---|
Type | Description |
Timestamp |
The expirationTime. |
getExpirationTimeBuilder()
public Timestamp.Builder getExpirationTimeBuilder()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Returns | |
---|---|
Type | Description |
Builder |
getExpirationTimeOrBuilder()
public TimestampOrBuilder getExpirationTimeOrBuilder()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getKind()
public NoteKind getKind()
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;
Returns | |
---|---|
Type | Description |
NoteKind |
The kind. |
getKindValue()
public int getKindValue()
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for kind. |
getLongDescription()
public String getLongDescription()
A detailed description of this note.
string long_description = 3;
Returns | |
---|---|
Type | Description |
String |
The longDescription. |
getLongDescriptionBytes()
public ByteString getLongDescriptionBytes()
A detailed description of this note.
string long_description = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for longDescription. |
getName()
public String getName()
Output only. The name of the note in the form of
projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The name of the note in the form of
projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getPackage()
public Package getPackage()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;
Returns | |
---|---|
Type | Description |
Package |
The package. |
getPackageBuilder()
public Package.Builder getPackageBuilder()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;
Returns | |
---|---|
Type | Description |
Package.Builder |
getPackageOrBuilder()
public PackageOrBuilder getPackageOrBuilder()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;
Returns | |
---|---|
Type | Description |
PackageOrBuilder |
getRelatedNoteNames(int index)
public String getRelatedNoteNames(int index)
Other notes related to this note.
repeated string related_note_names = 9;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The relatedNoteNames at the given index. |
getRelatedNoteNamesBytes(int index)
public ByteString getRelatedNoteNamesBytes(int index)
Other notes related to this note.
repeated string related_note_names = 9;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the relatedNoteNames at the given index. |
getRelatedNoteNamesCount()
public int getRelatedNoteNamesCount()
Other notes related to this note.
repeated string related_note_names = 9;
Returns | |
---|---|
Type | Description |
int |
The count of relatedNoteNames. |
getRelatedNoteNamesList()
public ProtocolStringList getRelatedNoteNamesList()
Other notes related to this note.
repeated string related_note_names = 9;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the relatedNoteNames. |
getRelatedUrl(int index)
public RelatedUrl getRelatedUrl(int index)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RelatedUrl |
getRelatedUrlBuilder(int index)
public RelatedUrl.Builder getRelatedUrlBuilder(int index)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RelatedUrl.Builder |
getRelatedUrlBuilderList()
public List<RelatedUrl.Builder> getRelatedUrlBuilderList()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Returns | |
---|---|
Type | Description |
List<Builder> |
getRelatedUrlCount()
public int getRelatedUrlCount()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Returns | |
---|---|
Type | Description |
int |
getRelatedUrlList()
public List<RelatedUrl> getRelatedUrlList()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Returns | |
---|---|
Type | Description |
List<RelatedUrl> |
getRelatedUrlOrBuilder(int index)
public RelatedUrlOrBuilder getRelatedUrlOrBuilder(int index)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RelatedUrlOrBuilder |
getRelatedUrlOrBuilderList()
public List<? extends RelatedUrlOrBuilder> getRelatedUrlOrBuilderList()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Returns | |
---|---|
Type | Description |
List<? extends io.grafeas.v1beta1.common.RelatedUrlOrBuilder> |
getShortDescription()
public String getShortDescription()
A one sentence description of this note.
string short_description = 2;
Returns | |
---|---|
Type | Description |
String |
The shortDescription. |
getShortDescriptionBytes()
public ByteString getShortDescriptionBytes()
A one sentence description of this note.
string short_description = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for shortDescription. |
getTypeCase()
public Note.TypeCase getTypeCase()
Returns | |
---|---|
Type | Description |
Note.TypeCase |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getVulnerability()
public Vulnerability getVulnerability()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
Returns | |
---|---|
Type | Description |
Vulnerability |
The vulnerability. |
getVulnerabilityBuilder()
public Vulnerability.Builder getVulnerabilityBuilder()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
getVulnerabilityOrBuilder()
public VulnerabilityOrBuilder getVulnerabilityOrBuilder()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
Returns | |
---|---|
Type | Description |
VulnerabilityOrBuilder |
hasAttestationAuthority()
public boolean hasAttestationAuthority()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;
Returns | |
---|---|
Type | Description |
boolean |
Whether the attestationAuthority field is set. |
hasBaseImage()
public boolean hasBaseImage()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;
Returns | |
---|---|
Type | Description |
boolean |
Whether the baseImage field is set. |
hasBuild()
public boolean hasBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;
Returns | |
---|---|
Type | Description |
boolean |
Whether the build field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasDeployable()
public boolean hasDeployable()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;
Returns | |
---|---|
Type | Description |
boolean |
Whether the deployable field is set. |
hasDiscovery()
public boolean hasDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;
Returns | |
---|---|
Type | Description |
boolean |
Whether the discovery field is set. |
hasExpirationTime()
public boolean hasExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the expirationTime field is set. |
hasPackage()
public boolean hasPackage()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;
Returns | |
---|---|
Type | Description |
boolean |
Whether the package field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
hasVulnerability()
public boolean hasVulnerability()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
Returns | |
---|---|
Type | Description |
boolean |
Whether the vulnerability field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAttestationAuthority(Authority value)
public Note.Builder mergeAttestationAuthority(Authority value)
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;
Parameter | |
---|---|
Name | Description |
value |
Authority |
Returns | |
---|---|
Type | Description |
Note.Builder |
mergeBaseImage(Basis value)
public Note.Builder mergeBaseImage(Basis value)
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;
Parameter | |
---|---|
Name | Description |
value |
Basis |
Returns | |
---|---|
Type | Description |
Note.Builder |
mergeBuild(Build value)
public Note.Builder mergeBuild(Build value)
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;
Parameter | |
---|---|
Name | Description |
value |
Build |
Returns | |
---|---|
Type | Description |
Note.Builder |
mergeCreateTime(Timestamp value)
public Note.Builder mergeCreateTime(Timestamp value)
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Note.Builder |
mergeDeployable(Deployable value)
public Note.Builder mergeDeployable(Deployable value)
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;
Parameter | |
---|---|
Name | Description |
value |
Deployable |
Returns | |
---|---|
Type | Description |
Note.Builder |
mergeDiscovery(Discovery value)
public Note.Builder mergeDiscovery(Discovery value)
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;
Parameter | |
---|---|
Name | Description |
value |
Discovery |
Returns | |
---|---|
Type | Description |
Note.Builder |
mergeExpirationTime(Timestamp value)
public Note.Builder mergeExpirationTime(Timestamp value)
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Note.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Note.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Note.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Note.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Note.Builder |
mergeFrom(Note other)
public Note.Builder mergeFrom(Note other)
Parameter | |
---|---|
Name | Description |
other |
Note |
Returns | |
---|---|
Type | Description |
Note.Builder |
mergePackage(Package value)
public Note.Builder mergePackage(Package value)
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;
Parameter | |
---|---|
Name | Description |
value |
Package |
Returns | |
---|---|
Type | Description |
Note.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Note.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Note.Builder |
mergeUpdateTime(Timestamp value)
public Note.Builder mergeUpdateTime(Timestamp value)
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Note.Builder |
mergeVulnerability(Vulnerability value)
public Note.Builder mergeVulnerability(Vulnerability value)
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
Parameter | |
---|---|
Name | Description |
value |
Vulnerability |
Returns | |
---|---|
Type | Description |
Note.Builder |
removeRelatedUrl(int index)
public Note.Builder removeRelatedUrl(int index)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Note.Builder |
setAttestationAuthority(Authority value)
public Note.Builder setAttestationAuthority(Authority value)
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;
Parameter | |
---|---|
Name | Description |
value |
Authority |
Returns | |
---|---|
Type | Description |
Note.Builder |
setAttestationAuthority(Authority.Builder builderForValue)
public Note.Builder setAttestationAuthority(Authority.Builder builderForValue)
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;
Parameter | |
---|---|
Name | Description |
builderForValue |
Authority.Builder |
Returns | |
---|---|
Type | Description |
Note.Builder |
setBaseImage(Basis value)
public Note.Builder setBaseImage(Basis value)
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;
Parameter | |
---|---|
Name | Description |
value |
Basis |
Returns | |
---|---|
Type | Description |
Note.Builder |
setBaseImage(Basis.Builder builderForValue)
public Note.Builder setBaseImage(Basis.Builder builderForValue)
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;
Parameter | |
---|---|
Name | Description |
builderForValue |
Basis.Builder |
Returns | |
---|---|
Type | Description |
Note.Builder |
setBuild(Build value)
public Note.Builder setBuild(Build value)
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;
Parameter | |
---|---|
Name | Description |
value |
Build |
Returns | |
---|---|
Type | Description |
Note.Builder |
setBuild(Build.Builder builderForValue)
public Note.Builder setBuild(Build.Builder builderForValue)
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;
Parameter | |
---|---|
Name | Description |
builderForValue |
Build.Builder |
Returns | |
---|---|
Type | Description |
Note.Builder |
setCreateTime(Timestamp value)
public Note.Builder setCreateTime(Timestamp value)
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Note.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Note.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time this note was created. This field can be used as a filter in list requests.
.google.protobuf.Timestamp create_time = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Note.Builder |
setDeployable(Deployable value)
public Note.Builder setDeployable(Deployable value)
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;
Parameter | |
---|---|
Name | Description |
value |
Deployable |
Returns | |
---|---|
Type | Description |
Note.Builder |
setDeployable(Deployable.Builder builderForValue)
public Note.Builder setDeployable(Deployable.Builder builderForValue)
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;
Parameter | |
---|---|
Name | Description |
builderForValue |
Deployable.Builder |
Returns | |
---|---|
Type | Description |
Note.Builder |
setDiscovery(Discovery value)
public Note.Builder setDiscovery(Discovery value)
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;
Parameter | |
---|---|
Name | Description |
value |
Discovery |
Returns | |
---|---|
Type | Description |
Note.Builder |
setDiscovery(Discovery.Builder builderForValue)
public Note.Builder setDiscovery(Discovery.Builder builderForValue)
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;
Parameter | |
---|---|
Name | Description |
builderForValue |
Discovery.Builder |
Returns | |
---|---|
Type | Description |
Note.Builder |
setExpirationTime(Timestamp value)
public Note.Builder setExpirationTime(Timestamp value)
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Note.Builder |
setExpirationTime(Timestamp.Builder builderForValue)
public Note.Builder setExpirationTime(Timestamp.Builder builderForValue)
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Note.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Note.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Note.Builder |
setKind(NoteKind value)
public Note.Builder setKind(NoteKind value)
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;
Parameter | |
---|---|
Name | Description |
value |
NoteKind The kind to set. |
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
setKindValue(int value)
public Note.Builder setKindValue(int value)
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for kind to set. |
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
setLongDescription(String value)
public Note.Builder setLongDescription(String value)
A detailed description of this note.
string long_description = 3;
Parameter | |
---|---|
Name | Description |
value |
String The longDescription to set. |
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
setLongDescriptionBytes(ByteString value)
public Note.Builder setLongDescriptionBytes(ByteString value)
A detailed description of this note.
string long_description = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for longDescription to set. |
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
setName(String value)
public Note.Builder setName(String value)
Output only. The name of the note in the form of
projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Note.Builder setNameBytes(ByteString value)
Output only. The name of the note in the form of
projects/[PROVIDER_ID]/notes/[NOTE_ID]
.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
setPackage(Package value)
public Note.Builder setPackage(Package value)
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;
Parameter | |
---|---|
Name | Description |
value |
Package |
Returns | |
---|---|
Type | Description |
Note.Builder |
setPackage(Package.Builder builderForValue)
public Note.Builder setPackage(Package.Builder builderForValue)
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;
Parameter | |
---|---|
Name | Description |
builderForValue |
Package.Builder |
Returns | |
---|---|
Type | Description |
Note.Builder |
setRelatedNoteNames(int index, String value)
public Note.Builder setRelatedNoteNames(int index, String value)
Other notes related to this note.
repeated string related_note_names = 9;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The relatedNoteNames to set. |
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
setRelatedUrl(int index, RelatedUrl value)
public Note.Builder setRelatedUrl(int index, RelatedUrl value)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
RelatedUrl |
Returns | |
---|---|
Type | Description |
Note.Builder |
setRelatedUrl(int index, RelatedUrl.Builder builderForValue)
public Note.Builder setRelatedUrl(int index, RelatedUrl.Builder builderForValue)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
RelatedUrl.Builder |
Returns | |
---|---|
Type | Description |
Note.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Note.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Note.Builder |
setShortDescription(String value)
public Note.Builder setShortDescription(String value)
A one sentence description of this note.
string short_description = 2;
Parameter | |
---|---|
Name | Description |
value |
String The shortDescription to set. |
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
setShortDescriptionBytes(ByteString value)
public Note.Builder setShortDescriptionBytes(ByteString value)
A one sentence description of this note.
string short_description = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for shortDescription to set. |
Returns | |
---|---|
Type | Description |
Note.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Note.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Note.Builder |
setUpdateTime(Timestamp value)
public Note.Builder setUpdateTime(Timestamp value)
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Note.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Note.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The time this note was last updated. This field can be used as a filter in list requests.
.google.protobuf.Timestamp update_time = 8;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Note.Builder |
setVulnerability(Vulnerability value)
public Note.Builder setVulnerability(Vulnerability value)
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
Parameter | |
---|---|
Name | Description |
value |
Vulnerability |
Returns | |
---|---|
Type | Description |
Note.Builder |
setVulnerability(Vulnerability.Builder builderForValue)
public Note.Builder setVulnerability(Vulnerability.Builder builderForValue)
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
Parameter | |
---|---|
Name | Description |
builderForValue |
Vulnerability.Builder |
Returns | |
---|---|
Type | Description |
Note.Builder |