public final class Note extends com.google.protobuf.GeneratedMessageV3 implements NoteOrBuilder
A type of analysis that can be done for a resource.Protobuf type
grafeas.v1beta1.Note| Modifier and Type | Class and Description |
|---|---|
static class |
Note.Builder
A type of analysis that can be done for a resource.
|
static class |
Note.TypeCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ATTESTATION_AUTHORITY_FIELD_NUMBER |
static int |
BASE_IMAGE_FIELD_NUMBER |
static int |
BUILD_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DEPLOYABLE_FIELD_NUMBER |
static int |
DISCOVERY_FIELD_NUMBER |
static int |
EXPIRATION_TIME_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
LONG_DESCRIPTION_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PACKAGE_FIELD_NUMBER |
static int |
RELATED_NOTE_NAMES_FIELD_NUMBER |
static int |
RELATED_URL_FIELD_NUMBER |
static int |
SHORT_DESCRIPTION_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
VULNERABILITY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Authority |
getAttestationAuthority()
A note describing an attestation role.
|
AuthorityOrBuilder |
getAttestationAuthorityOrBuilder()
A note describing an attestation role.
|
Basis |
getBaseImage()
A note describing a base image.
|
BasisOrBuilder |
getBaseImageOrBuilder()
A note describing a base image.
|
Build |
getBuild()
A note describing build provenance for a verifiable build.
|
BuildOrBuilder |
getBuildOrBuilder()
A note describing build provenance for a verifiable build.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Note |
getDefaultInstance() |
Note |
getDefaultInstanceForType() |
Deployable |
getDeployable()
A note describing something that can be deployed.
|
DeployableOrBuilder |
getDeployableOrBuilder()
A note describing something that can be deployed.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Discovery |
getDiscovery()
A note describing the initial analysis of a resource.
|
DiscoveryOrBuilder |
getDiscoveryOrBuilder()
A note describing the initial analysis of a resource.
|
com.google.protobuf.Timestamp |
getExpirationTime()
Time of expiration for this note.
|
com.google.protobuf.TimestampOrBuilder |
getExpirationTimeOrBuilder()
Time of expiration for this note.
|
NoteKind |
getKind()
Output only.
|
int |
getKindValue()
Output only.
|
String |
getLongDescription()
A detailed description of this note.
|
com.google.protobuf.ByteString |
getLongDescriptionBytes()
A detailed description of this note.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
Package |
getPackage()
A note describing a package hosted by various package managers.
|
PackageOrBuilder |
getPackageOrBuilder()
A note describing a package hosted by various package managers.
|
com.google.protobuf.Parser<Note> |
getParserForType() |
String |
getRelatedNoteNames(int index)
Other notes related to this note.
|
com.google.protobuf.ByteString |
getRelatedNoteNamesBytes(int index)
Other notes related to this note.
|
int |
getRelatedNoteNamesCount()
Other notes related to this note.
|
com.google.protobuf.ProtocolStringList |
getRelatedNoteNamesList()
Other notes related to this note.
|
RelatedUrl |
getRelatedUrl(int index)
URLs associated with this note.
|
int |
getRelatedUrlCount()
URLs associated with this note.
|
List<RelatedUrl> |
getRelatedUrlList()
URLs associated with this note.
|
RelatedUrlOrBuilder |
getRelatedUrlOrBuilder(int index)
URLs associated with this note.
|
List<? extends RelatedUrlOrBuilder> |
getRelatedUrlOrBuilderList()
URLs associated with this note.
|
int |
getSerializedSize() |
String |
getShortDescription()
A one sentence description of this note.
|
com.google.protobuf.ByteString |
getShortDescriptionBytes()
A one sentence description of this note.
|
Note.TypeCase |
getTypeCase() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
Vulnerability |
getVulnerability()
A note describing a package vulnerability.
|
VulnerabilityOrBuilder |
getVulnerabilityOrBuilder()
A note describing a package vulnerability.
|
boolean |
hasAttestationAuthority()
A note describing an attestation role.
|
boolean |
hasBaseImage()
A note describing a base image.
|
boolean |
hasBuild()
A note describing build provenance for a verifiable build.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeployable()
A note describing something that can be deployed.
|
boolean |
hasDiscovery()
A note describing the initial analysis of a resource.
|
boolean |
hasExpirationTime()
Time of expiration for this note.
|
int |
hashCode() |
boolean |
hasPackage()
A note describing a package hosted by various package managers.
|
boolean |
hasUpdateTime()
Output only.
|
boolean |
hasVulnerability()
A note describing a package vulnerability.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Note.Builder |
newBuilder() |
static Note.Builder |
newBuilder(Note prototype) |
Note.Builder |
newBuilderForType() |
protected Note.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Note |
parseDelimitedFrom(InputStream input) |
static Note |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Note |
parseFrom(byte[] data) |
static Note |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Note |
parseFrom(ByteBuffer data) |
static Note |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Note |
parseFrom(com.google.protobuf.ByteString data) |
static Note |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Note |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Note |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Note |
parseFrom(InputStream input) |
static Note |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Note> |
parser() |
Note.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int SHORT_DESCRIPTION_FIELD_NUMBER
public static final int LONG_DESCRIPTION_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int RELATED_URL_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int RELATED_NOTE_NAMES_FIELD_NUMBER
public static final int VULNERABILITY_FIELD_NUMBER
public static final int BUILD_FIELD_NUMBER
public static final int BASE_IMAGE_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER
public static final int DEPLOYABLE_FIELD_NUMBER
public static final int DISCOVERY_FIELD_NUMBER
public static final int ATTESTATION_AUTHORITY_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Note.TypeCase getTypeCase()
getTypeCase in interface NoteOrBuilderpublic String getName()
Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
string name = 1;getName in interface NoteOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
string name = 1;getNameBytes in interface NoteOrBuilderpublic String getShortDescription()
A one sentence description of this note.
string short_description = 2;getShortDescription in interface NoteOrBuilderpublic com.google.protobuf.ByteString getShortDescriptionBytes()
A one sentence description of this note.
string short_description = 2;getShortDescriptionBytes in interface NoteOrBuilderpublic String getLongDescription()
A detailed description of this note.
string long_description = 3;getLongDescription in interface NoteOrBuilderpublic com.google.protobuf.ByteString getLongDescriptionBytes()
A detailed description of this note.
string long_description = 3;getLongDescriptionBytes in interface NoteOrBuilderpublic int getKindValue()
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;getKindValue in interface NoteOrBuilderpublic NoteKind getKind()
Output only. The type of analysis. This field can be used as a filter in list requests.
.grafeas.v1beta1.NoteKind kind = 4;getKind in interface NoteOrBuilderpublic List<RelatedUrl> getRelatedUrlList()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;getRelatedUrlList in interface NoteOrBuilderpublic List<? extends RelatedUrlOrBuilder> getRelatedUrlOrBuilderList()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;getRelatedUrlOrBuilderList in interface NoteOrBuilderpublic int getRelatedUrlCount()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;getRelatedUrlCount in interface NoteOrBuilderpublic RelatedUrl getRelatedUrl(int index)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;getRelatedUrl in interface NoteOrBuilderpublic RelatedUrlOrBuilder getRelatedUrlOrBuilder(int index)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;getRelatedUrlOrBuilder in interface NoteOrBuilderpublic boolean hasExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;hasExpirationTime in interface NoteOrBuilderpublic com.google.protobuf.Timestamp getExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;getExpirationTime in interface NoteOrBuilderpublic com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;getExpirationTimeOrBuilder in interface NoteOrBuilderpublic 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;hasCreateTime in interface NoteOrBuilderpublic com.google.protobuf.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;getCreateTime in interface NoteOrBuilderpublic com.google.protobuf.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;getCreateTimeOrBuilder in interface NoteOrBuilderpublic 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;hasUpdateTime in interface NoteOrBuilderpublic com.google.protobuf.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;getUpdateTime in interface NoteOrBuilderpublic com.google.protobuf.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;getUpdateTimeOrBuilder in interface NoteOrBuilderpublic com.google.protobuf.ProtocolStringList getRelatedNoteNamesList()
Other notes related to this note.
repeated string related_note_names = 9;getRelatedNoteNamesList in interface NoteOrBuilderpublic int getRelatedNoteNamesCount()
Other notes related to this note.
repeated string related_note_names = 9;getRelatedNoteNamesCount in interface NoteOrBuilderpublic String getRelatedNoteNames(int index)
Other notes related to this note.
repeated string related_note_names = 9;getRelatedNoteNames in interface NoteOrBuilderpublic com.google.protobuf.ByteString getRelatedNoteNamesBytes(int index)
Other notes related to this note.
repeated string related_note_names = 9;getRelatedNoteNamesBytes in interface NoteOrBuilderpublic boolean hasVulnerability()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;hasVulnerability in interface NoteOrBuilderpublic Vulnerability getVulnerability()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;getVulnerability in interface NoteOrBuilderpublic VulnerabilityOrBuilder getVulnerabilityOrBuilder()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;getVulnerabilityOrBuilder in interface NoteOrBuilderpublic boolean hasBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;hasBuild in interface NoteOrBuilderpublic Build getBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;getBuild in interface NoteOrBuilderpublic BuildOrBuilder getBuildOrBuilder()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;getBuildOrBuilder in interface NoteOrBuilderpublic boolean hasBaseImage()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;hasBaseImage in interface NoteOrBuilderpublic Basis getBaseImage()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;getBaseImage in interface NoteOrBuilderpublic BasisOrBuilder getBaseImageOrBuilder()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;getBaseImageOrBuilder in interface NoteOrBuilderpublic boolean hasPackage()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;hasPackage in interface NoteOrBuilderpublic Package getPackage()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;getPackage in interface NoteOrBuilderpublic PackageOrBuilder getPackageOrBuilder()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;getPackageOrBuilder in interface NoteOrBuilderpublic boolean hasDeployable()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;hasDeployable in interface NoteOrBuilderpublic Deployable getDeployable()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;getDeployable in interface NoteOrBuilderpublic DeployableOrBuilder getDeployableOrBuilder()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;getDeployableOrBuilder in interface NoteOrBuilderpublic boolean hasDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;hasDiscovery in interface NoteOrBuilderpublic Discovery getDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;getDiscovery in interface NoteOrBuilderpublic DiscoveryOrBuilder getDiscoveryOrBuilder()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;getDiscoveryOrBuilder in interface NoteOrBuilderpublic boolean hasAttestationAuthority()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;hasAttestationAuthority in interface NoteOrBuilderpublic Authority getAttestationAuthority()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;getAttestationAuthority in interface NoteOrBuilderpublic AuthorityOrBuilder getAttestationAuthorityOrBuilder()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;getAttestationAuthorityOrBuilder in interface NoteOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Note parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Note parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Note parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Note parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Note parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Note parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Note parseFrom(InputStream input) throws IOException
IOExceptionpublic static Note parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Note parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Note parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Note parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Note parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Note.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Note.Builder newBuilder()
public static Note.Builder newBuilder(Note prototype)
public Note.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Note.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Note getDefaultInstance()
public static com.google.protobuf.Parser<Note> parser()
public com.google.protobuf.Parser<Note> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Note getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.