public final class Note extends GeneratedMessageV3 implements NoteOrBuilder
A type of analysis that can be done for a resource.Protobuf type
grafeas.v1.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 |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
ATTESTATION_FIELD_NUMBER |
static int |
BUILD_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DEPLOYMENT_FIELD_NUMBER |
static int |
DISCOVERY_FIELD_NUMBER |
static int |
EXPIRATION_TIME_FIELD_NUMBER |
static int |
IMAGE_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 |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AttestationNote |
getAttestation()
A note describing an attestation role.
|
AttestationNoteOrBuilder |
getAttestationOrBuilder()
A note describing an attestation role.
|
BuildNote |
getBuild()
A note describing build provenance for a verifiable build.
|
BuildNoteOrBuilder |
getBuildOrBuilder()
A note describing build provenance for a verifiable build.
|
Timestamp |
getCreateTime()
Output only.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Note |
getDefaultInstance() |
Note |
getDefaultInstanceForType() |
DeploymentNote |
getDeployment()
A note describing something that can be deployed.
|
DeploymentNoteOrBuilder |
getDeploymentOrBuilder()
A note describing something that can be deployed.
|
static Descriptors.Descriptor |
getDescriptor() |
DiscoveryNote |
getDiscovery()
A note describing the initial analysis of a resource.
|
DiscoveryNoteOrBuilder |
getDiscoveryOrBuilder()
A note describing the initial analysis of a resource.
|
Timestamp |
getExpirationTime()
Time of expiration for this note.
|
TimestampOrBuilder |
getExpirationTimeOrBuilder()
Time of expiration for this note.
|
ImageNote |
getImage()
A note describing a base image.
|
ImageNoteOrBuilder |
getImageOrBuilder()
A note describing a base image.
|
NoteKind |
getKind()
Output only.
|
int |
getKindValue()
Output only.
|
String |
getLongDescription()
A detailed description of this note.
|
ByteString |
getLongDescriptionBytes()
A detailed description of this note.
|
String |
getName()
Output only.
|
ByteString |
getNameBytes()
Output only.
|
PackageNote |
getPackage()
A note describing a package hosted by various package managers.
|
PackageNoteOrBuilder |
getPackageOrBuilder()
A note describing a package hosted by various package managers.
|
Parser<Note> |
getParserForType() |
String |
getRelatedNoteNames(int index)
Other notes related to this note.
|
ByteString |
getRelatedNoteNamesBytes(int index)
Other notes related to this note.
|
int |
getRelatedNoteNamesCount()
Other notes related to this note.
|
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.
|
ByteString |
getShortDescriptionBytes()
A one sentence description of this note.
|
Note.TypeCase |
getTypeCase() |
UnknownFieldSet |
getUnknownFields() |
Timestamp |
getUpdateTime()
Output only.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
VulnerabilityNote |
getVulnerability()
A note describing a package vulnerability.
|
VulnerabilityNoteOrBuilder |
getVulnerabilityOrBuilder()
A note describing a package vulnerability.
|
boolean |
hasAttestation()
A note describing an attestation role.
|
boolean |
hasBuild()
A note describing build provenance for a verifiable build.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDeployment()
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 |
hasImage()
A note describing a base image.
|
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 GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Note.Builder |
newBuilder() |
static Note.Builder |
newBuilder(Note prototype) |
Note.Builder |
newBuilderForType() |
protected Note.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Note |
parseDelimitedFrom(InputStream input) |
static Note |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Note |
parseFrom(byte[] data) |
static Note |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Note |
parseFrom(ByteBuffer data) |
static Note |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Note |
parseFrom(ByteString data) |
static Note |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Note |
parseFrom(CodedInputStream input) |
static Note |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Note |
parseFrom(InputStream input) |
static Note |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Note> |
parser() |
Note.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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 IMAGE_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER
public static final int DEPLOYMENT_FIELD_NUMBER
public static final int DISCOVERY_FIELD_NUMBER
public static final int ATTESTATION_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class 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 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 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 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.v1.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.v1.NoteKind kind = 4;getKind in interface NoteOrBuilderpublic List<RelatedUrl> getRelatedUrlList()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;getRelatedUrlList in interface NoteOrBuilderpublic List<? extends RelatedUrlOrBuilder> getRelatedUrlOrBuilderList()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;getRelatedUrlOrBuilderList in interface NoteOrBuilderpublic int getRelatedUrlCount()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;getRelatedUrlCount in interface NoteOrBuilderpublic RelatedUrl getRelatedUrl(int index)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;getRelatedUrl in interface NoteOrBuilderpublic RelatedUrlOrBuilder getRelatedUrlOrBuilder(int index)
URLs associated with this note.
repeated .grafeas.v1.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 Timestamp getExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;getExpirationTime in interface NoteOrBuilderpublic 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 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 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 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 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 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 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.v1.VulnerabilityNote vulnerability = 10;hasVulnerability in interface NoteOrBuilderpublic VulnerabilityNote getVulnerability()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;getVulnerability in interface NoteOrBuilderpublic VulnerabilityNoteOrBuilder getVulnerabilityOrBuilder()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;getVulnerabilityOrBuilder in interface NoteOrBuilderpublic boolean hasBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;hasBuild in interface NoteOrBuilderpublic BuildNote getBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;getBuild in interface NoteOrBuilderpublic BuildNoteOrBuilder getBuildOrBuilder()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;getBuildOrBuilder in interface NoteOrBuilderpublic boolean hasImage()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;hasImage in interface NoteOrBuilderpublic ImageNote getImage()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;getImage in interface NoteOrBuilderpublic ImageNoteOrBuilder getImageOrBuilder()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;getImageOrBuilder in interface NoteOrBuilderpublic boolean hasPackage()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;hasPackage in interface NoteOrBuilderpublic PackageNote getPackage()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;getPackage in interface NoteOrBuilderpublic PackageNoteOrBuilder getPackageOrBuilder()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;getPackageOrBuilder in interface NoteOrBuilderpublic boolean hasDeployment()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;hasDeployment in interface NoteOrBuilderpublic DeploymentNote getDeployment()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;getDeployment in interface NoteOrBuilderpublic DeploymentNoteOrBuilder getDeploymentOrBuilder()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;getDeploymentOrBuilder in interface NoteOrBuilderpublic boolean hasDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;hasDiscovery in interface NoteOrBuilderpublic DiscoveryNote getDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;getDiscovery in interface NoteOrBuilderpublic DiscoveryNoteOrBuilder getDiscoveryOrBuilder()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;getDiscoveryOrBuilder in interface NoteOrBuilderpublic boolean hasAttestation()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;hasAttestation in interface NoteOrBuilderpublic AttestationNote getAttestation()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;getAttestation in interface NoteOrBuilderpublic AttestationNoteOrBuilder getAttestationOrBuilder()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;getAttestationOrBuilder in interface NoteOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Note parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Note parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Note parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Note parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Note parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Note parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Note parseFrom(InputStream input) throws IOException
IOExceptionpublic static Note parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Note parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Note parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Note parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static Note parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Note.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Note.Builder newBuilder()
public static Note.Builder newBuilder(Note prototype)
public Note.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Note.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Note getDefaultInstance()
public Parser<Note> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Note getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.