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.UnusedPrivateParameter
AbstractMessageLite.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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public Note.TypeCase getTypeCase()
getTypeCase
in interface NoteOrBuilder
public 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 NoteOrBuilder
public 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 NoteOrBuilder
public String getShortDescription()
A one sentence description of this note.
string short_description = 2;
getShortDescription
in interface NoteOrBuilder
public ByteString getShortDescriptionBytes()
A one sentence description of this note.
string short_description = 2;
getShortDescriptionBytes
in interface NoteOrBuilder
public String getLongDescription()
A detailed description of this note.
string long_description = 3;
getLongDescription
in interface NoteOrBuilder
public ByteString getLongDescriptionBytes()
A detailed description of this note.
string long_description = 3;
getLongDescriptionBytes
in interface NoteOrBuilder
public 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 NoteOrBuilder
public 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 NoteOrBuilder
public List<RelatedUrl> getRelatedUrlList()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
getRelatedUrlList
in interface NoteOrBuilder
public List<? extends RelatedUrlOrBuilder> getRelatedUrlOrBuilderList()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
getRelatedUrlOrBuilderList
in interface NoteOrBuilder
public int getRelatedUrlCount()
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
getRelatedUrlCount
in interface NoteOrBuilder
public RelatedUrl getRelatedUrl(int index)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
getRelatedUrl
in interface NoteOrBuilder
public RelatedUrlOrBuilder getRelatedUrlOrBuilder(int index)
URLs associated with this note.
repeated .grafeas.v1.RelatedUrl related_url = 5;
getRelatedUrlOrBuilder
in interface NoteOrBuilder
public boolean hasExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
hasExpirationTime
in interface NoteOrBuilder
public Timestamp getExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
getExpirationTime
in interface NoteOrBuilder
public TimestampOrBuilder getExpirationTimeOrBuilder()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
getExpirationTimeOrBuilder
in interface NoteOrBuilder
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;
hasCreateTime
in interface NoteOrBuilder
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;
getCreateTime
in interface NoteOrBuilder
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;
getCreateTimeOrBuilder
in interface NoteOrBuilder
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;
hasUpdateTime
in interface NoteOrBuilder
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;
getUpdateTime
in interface NoteOrBuilder
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;
getUpdateTimeOrBuilder
in interface NoteOrBuilder
public ProtocolStringList getRelatedNoteNamesList()
Other notes related to this note.
repeated string related_note_names = 9;
getRelatedNoteNamesList
in interface NoteOrBuilder
public int getRelatedNoteNamesCount()
Other notes related to this note.
repeated string related_note_names = 9;
getRelatedNoteNamesCount
in interface NoteOrBuilder
public String getRelatedNoteNames(int index)
Other notes related to this note.
repeated string related_note_names = 9;
getRelatedNoteNames
in interface NoteOrBuilder
public ByteString getRelatedNoteNamesBytes(int index)
Other notes related to this note.
repeated string related_note_names = 9;
getRelatedNoteNamesBytes
in interface NoteOrBuilder
public boolean hasVulnerability()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
hasVulnerability
in interface NoteOrBuilder
public VulnerabilityNote getVulnerability()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
getVulnerability
in interface NoteOrBuilder
public VulnerabilityNoteOrBuilder getVulnerabilityOrBuilder()
A note describing a package vulnerability.
.grafeas.v1.VulnerabilityNote vulnerability = 10;
getVulnerabilityOrBuilder
in interface NoteOrBuilder
public boolean hasBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
hasBuild
in interface NoteOrBuilder
public BuildNote getBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
getBuild
in interface NoteOrBuilder
public BuildNoteOrBuilder getBuildOrBuilder()
A note describing build provenance for a verifiable build.
.grafeas.v1.BuildNote build = 11;
getBuildOrBuilder
in interface NoteOrBuilder
public boolean hasImage()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
hasImage
in interface NoteOrBuilder
public ImageNote getImage()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
getImage
in interface NoteOrBuilder
public ImageNoteOrBuilder getImageOrBuilder()
A note describing a base image.
.grafeas.v1.ImageNote image = 12;
getImageOrBuilder
in interface NoteOrBuilder
public boolean hasPackage()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
hasPackage
in interface NoteOrBuilder
public PackageNote getPackage()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
getPackage
in interface NoteOrBuilder
public PackageNoteOrBuilder getPackageOrBuilder()
A note describing a package hosted by various package managers.
.grafeas.v1.PackageNote package = 13;
getPackageOrBuilder
in interface NoteOrBuilder
public boolean hasDeployment()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
hasDeployment
in interface NoteOrBuilder
public DeploymentNote getDeployment()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
getDeployment
in interface NoteOrBuilder
public DeploymentNoteOrBuilder getDeploymentOrBuilder()
A note describing something that can be deployed.
.grafeas.v1.DeploymentNote deployment = 14;
getDeploymentOrBuilder
in interface NoteOrBuilder
public boolean hasDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
hasDiscovery
in interface NoteOrBuilder
public DiscoveryNote getDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
getDiscovery
in interface NoteOrBuilder
public DiscoveryNoteOrBuilder getDiscoveryOrBuilder()
A note describing the initial analysis of a resource.
.grafeas.v1.DiscoveryNote discovery = 15;
getDiscoveryOrBuilder
in interface NoteOrBuilder
public boolean hasAttestation()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
hasAttestation
in interface NoteOrBuilder
public AttestationNote getAttestation()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
getAttestation
in interface NoteOrBuilder
public AttestationNoteOrBuilder getAttestationOrBuilder()
A note describing an attestation role.
.grafeas.v1.AttestationNote attestation = 16;
getAttestationOrBuilder
in interface NoteOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Note parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Note parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Note parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Note parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Note parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Note parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Note parseFrom(InputStream input) throws IOException
IOException
public static Note parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Note parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Note parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Note parseFrom(CodedInputStream input) throws IOException
IOException
public static Note parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Note.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Note.Builder newBuilder()
public static Note.Builder newBuilder(Note prototype)
public Note.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Note.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Note getDefaultInstance()
public Parser<Note> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Note getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2019 Google LLC. All rights reserved.