Package io.grafeas.v1beta1
Class Note
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.grafeas.v1beta1.Note
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,NoteOrBuilder
,Serializable
public final class Note extends com.google.protobuf.GeneratedMessageV3 implements NoteOrBuilder
A type of analysis that can be done for a resource.
Protobuf typegrafeas.v1beta1.Note
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Note.Builder
A type of analysis that can be done for a resource.static class
Note.TypeCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
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(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 Note
parseFrom(ByteBuffer data)
static Note
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Note>
parser()
Note.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHORT_DESCRIPTION_FIELD_NUMBER
public static final int SHORT_DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LONG_DESCRIPTION_FIELD_NUMBER
public static final int LONG_DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RELATED_URL_FIELD_NUMBER
public static final int RELATED_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPIRATION_TIME_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RELATED_NOTE_NAMES_FIELD_NUMBER
public static final int RELATED_NOTE_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VULNERABILITY_FIELD_NUMBER
public static final int VULNERABILITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUILD_FIELD_NUMBER
public static final int BUILD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BASE_IMAGE_FIELD_NUMBER
public static final int BASE_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PACKAGE_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOYABLE_FIELD_NUMBER
public static final int DEPLOYABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISCOVERY_FIELD_NUMBER
public static final int DISCOVERY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTESTATION_AUTHORITY_FIELD_NUMBER
public static final int ATTESTATION_AUTHORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getTypeCase
public Note.TypeCase getTypeCase()
- Specified by:
getTypeCase
in interfaceNoteOrBuilder
-
getName
public String getName()
Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
string name = 1;
- Specified by:
getName
in interfaceNoteOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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;
- Specified by:
getNameBytes
in interfaceNoteOrBuilder
- Returns:
- The bytes for name.
-
getShortDescription
public String getShortDescription()
A one sentence description of this note.
string short_description = 2;
- Specified by:
getShortDescription
in interfaceNoteOrBuilder
- Returns:
- The shortDescription.
-
getShortDescriptionBytes
public com.google.protobuf.ByteString getShortDescriptionBytes()
A one sentence description of this note.
string short_description = 2;
- Specified by:
getShortDescriptionBytes
in interfaceNoteOrBuilder
- Returns:
- The bytes for shortDescription.
-
getLongDescription
public String getLongDescription()
A detailed description of this note.
string long_description = 3;
- Specified by:
getLongDescription
in interfaceNoteOrBuilder
- Returns:
- The longDescription.
-
getLongDescriptionBytes
public com.google.protobuf.ByteString getLongDescriptionBytes()
A detailed description of this note.
string long_description = 3;
- Specified by:
getLongDescriptionBytes
in interfaceNoteOrBuilder
- Returns:
- The bytes for longDescription.
-
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;
- Specified by:
getKindValue
in interfaceNoteOrBuilder
- Returns:
- The enum numeric value on the wire for kind.
-
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;
- Specified by:
getKind
in interfaceNoteOrBuilder
- Returns:
- The kind.
-
getRelatedUrlList
public List<RelatedUrl> getRelatedUrlList()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
- Specified by:
getRelatedUrlList
in interfaceNoteOrBuilder
-
getRelatedUrlOrBuilderList
public List<? extends RelatedUrlOrBuilder> getRelatedUrlOrBuilderList()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
- Specified by:
getRelatedUrlOrBuilderList
in interfaceNoteOrBuilder
-
getRelatedUrlCount
public int getRelatedUrlCount()
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
- Specified by:
getRelatedUrlCount
in interfaceNoteOrBuilder
-
getRelatedUrl
public RelatedUrl getRelatedUrl(int index)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
- Specified by:
getRelatedUrl
in interfaceNoteOrBuilder
-
getRelatedUrlOrBuilder
public RelatedUrlOrBuilder getRelatedUrlOrBuilder(int index)
URLs associated with this note.
repeated .grafeas.v1beta1.RelatedUrl related_url = 5;
- Specified by:
getRelatedUrlOrBuilder
in interfaceNoteOrBuilder
-
hasExpirationTime
public boolean hasExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
- Specified by:
hasExpirationTime
in interfaceNoteOrBuilder
- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
public com.google.protobuf.Timestamp getExpirationTime()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
- Specified by:
getExpirationTime
in interfaceNoteOrBuilder
- Returns:
- The expirationTime.
-
getExpirationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
Time of expiration for this note. Empty if note does not expire.
.google.protobuf.Timestamp expiration_time = 6;
- Specified by:
getExpirationTimeOrBuilder
in interfaceNoteOrBuilder
-
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;
- Specified by:
hasCreateTime
in interfaceNoteOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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;
- Specified by:
getCreateTime
in interfaceNoteOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public 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;
- Specified by:
getCreateTimeOrBuilder
in interfaceNoteOrBuilder
-
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;
- Specified by:
hasUpdateTime
in interfaceNoteOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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;
- Specified by:
getUpdateTime
in interfaceNoteOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public 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;
- Specified by:
getUpdateTimeOrBuilder
in interfaceNoteOrBuilder
-
getRelatedNoteNamesList
public com.google.protobuf.ProtocolStringList getRelatedNoteNamesList()
Other notes related to this note.
repeated string related_note_names = 9;
- Specified by:
getRelatedNoteNamesList
in interfaceNoteOrBuilder
- Returns:
- A list containing the relatedNoteNames.
-
getRelatedNoteNamesCount
public int getRelatedNoteNamesCount()
Other notes related to this note.
repeated string related_note_names = 9;
- Specified by:
getRelatedNoteNamesCount
in interfaceNoteOrBuilder
- Returns:
- The count of relatedNoteNames.
-
getRelatedNoteNames
public String getRelatedNoteNames(int index)
Other notes related to this note.
repeated string related_note_names = 9;
- Specified by:
getRelatedNoteNames
in interfaceNoteOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The relatedNoteNames at the given index.
-
getRelatedNoteNamesBytes
public com.google.protobuf.ByteString getRelatedNoteNamesBytes(int index)
Other notes related to this note.
repeated string related_note_names = 9;
- Specified by:
getRelatedNoteNamesBytes
in interfaceNoteOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the relatedNoteNames at the given index.
-
hasVulnerability
public boolean hasVulnerability()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
- Specified by:
hasVulnerability
in interfaceNoteOrBuilder
- Returns:
- Whether the vulnerability field is set.
-
getVulnerability
public Vulnerability getVulnerability()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
- Specified by:
getVulnerability
in interfaceNoteOrBuilder
- Returns:
- The vulnerability.
-
getVulnerabilityOrBuilder
public VulnerabilityOrBuilder getVulnerabilityOrBuilder()
A note describing a package vulnerability.
.grafeas.v1beta1.vulnerability.Vulnerability vulnerability = 10;
- Specified by:
getVulnerabilityOrBuilder
in interfaceNoteOrBuilder
-
hasBuild
public boolean hasBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;
- Specified by:
hasBuild
in interfaceNoteOrBuilder
- Returns:
- Whether the build field is set.
-
getBuild
public Build getBuild()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;
- Specified by:
getBuild
in interfaceNoteOrBuilder
- Returns:
- The build.
-
getBuildOrBuilder
public BuildOrBuilder getBuildOrBuilder()
A note describing build provenance for a verifiable build.
.grafeas.v1beta1.build.Build build = 11;
- Specified by:
getBuildOrBuilder
in interfaceNoteOrBuilder
-
hasBaseImage
public boolean hasBaseImage()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;
- Specified by:
hasBaseImage
in interfaceNoteOrBuilder
- Returns:
- Whether the baseImage field is set.
-
getBaseImage
public Basis getBaseImage()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;
- Specified by:
getBaseImage
in interfaceNoteOrBuilder
- Returns:
- The baseImage.
-
getBaseImageOrBuilder
public BasisOrBuilder getBaseImageOrBuilder()
A note describing a base image.
.grafeas.v1beta1.image.Basis base_image = 12;
- Specified by:
getBaseImageOrBuilder
in interfaceNoteOrBuilder
-
hasPackage
public boolean hasPackage()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;
- Specified by:
hasPackage
in interfaceNoteOrBuilder
- Returns:
- Whether the package field is set.
-
getPackage
public Package getPackage()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;
- Specified by:
getPackage
in interfaceNoteOrBuilder
- Returns:
- The package.
-
getPackageOrBuilder
public PackageOrBuilder getPackageOrBuilder()
A note describing a package hosted by various package managers.
.grafeas.v1beta1.package.Package package = 13;
- Specified by:
getPackageOrBuilder
in interfaceNoteOrBuilder
-
hasDeployable
public boolean hasDeployable()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;
- Specified by:
hasDeployable
in interfaceNoteOrBuilder
- Returns:
- Whether the deployable field is set.
-
getDeployable
public Deployable getDeployable()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;
- Specified by:
getDeployable
in interfaceNoteOrBuilder
- Returns:
- The deployable.
-
getDeployableOrBuilder
public DeployableOrBuilder getDeployableOrBuilder()
A note describing something that can be deployed.
.grafeas.v1beta1.deployment.Deployable deployable = 14;
- Specified by:
getDeployableOrBuilder
in interfaceNoteOrBuilder
-
hasDiscovery
public boolean hasDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;
- Specified by:
hasDiscovery
in interfaceNoteOrBuilder
- Returns:
- Whether the discovery field is set.
-
getDiscovery
public Discovery getDiscovery()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;
- Specified by:
getDiscovery
in interfaceNoteOrBuilder
- Returns:
- The discovery.
-
getDiscoveryOrBuilder
public DiscoveryOrBuilder getDiscoveryOrBuilder()
A note describing the initial analysis of a resource.
.grafeas.v1beta1.discovery.Discovery discovery = 15;
- Specified by:
getDiscoveryOrBuilder
in interfaceNoteOrBuilder
-
hasAttestationAuthority
public boolean hasAttestationAuthority()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;
- Specified by:
hasAttestationAuthority
in interfaceNoteOrBuilder
- Returns:
- Whether the attestationAuthority field is set.
-
getAttestationAuthority
public Authority getAttestationAuthority()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;
- Specified by:
getAttestationAuthority
in interfaceNoteOrBuilder
- Returns:
- The attestationAuthority.
-
getAttestationAuthorityOrBuilder
public AuthorityOrBuilder getAttestationAuthorityOrBuilder()
A note describing an attestation role.
.grafeas.v1beta1.attestation.Authority attestation_authority = 16;
- Specified by:
getAttestationAuthorityOrBuilder
in interfaceNoteOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Note parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Note parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Note parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Note parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Note parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Note parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Note parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Note parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Note parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Note parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Note parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Note parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Note.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Note.Builder newBuilder()
-
newBuilder
public static Note.Builder newBuilder(Note prototype)
-
toBuilder
public Note.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Note.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Note getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Note> parser()
-
getParserForType
public com.google.protobuf.Parser<Note> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Note getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-