public final class Package extends com.google.protobuf.GeneratedMessageV3 implements PackageOrBuilder
Package is a generic definition of a package.Protobuf type
google.cloud.securitycenter.v1.Package| Modifier and Type | Class and Description |
|---|---|
static class |
Package.Builder
Package is a generic definition of a package.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
CPE_URI_FIELD_NUMBER |
static int |
PACKAGE_NAME_FIELD_NUMBER |
static int |
PACKAGE_TYPE_FIELD_NUMBER |
static int |
PACKAGE_VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCpeUri()
The CPE URI where the vulnerability was detected.
|
com.google.protobuf.ByteString |
getCpeUriBytes()
The CPE URI where the vulnerability was detected.
|
static Package |
getDefaultInstance() |
Package |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getPackageName()
The name of the package where the vulnerability was detected.
|
com.google.protobuf.ByteString |
getPackageNameBytes()
The name of the package where the vulnerability was detected.
|
String |
getPackageType()
Type of package, for example, os, maven, or go.
|
com.google.protobuf.ByteString |
getPackageTypeBytes()
Type of package, for example, os, maven, or go.
|
String |
getPackageVersion()
The version of the package.
|
com.google.protobuf.ByteString |
getPackageVersionBytes()
The version of the package.
|
com.google.protobuf.Parser<Package> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Package.Builder |
newBuilder() |
static Package.Builder |
newBuilder(Package prototype) |
Package.Builder |
newBuilderForType() |
protected Package.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Package |
parseDelimitedFrom(InputStream input) |
static Package |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Package |
parseFrom(byte[] data) |
static Package |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Package |
parseFrom(ByteBuffer data) |
static Package |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Package |
parseFrom(com.google.protobuf.ByteString data) |
static Package |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Package |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Package |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Package |
parseFrom(InputStream input) |
static Package |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Package> |
parser() |
Package.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PACKAGE_NAME_FIELD_NUMBER
public static final int CPE_URI_FIELD_NUMBER
public static final int PACKAGE_TYPE_FIELD_NUMBER
public static final int PACKAGE_VERSION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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 String getPackageName()
The name of the package where the vulnerability was detected.
string package_name = 1;getPackageName in interface PackageOrBuilderpublic com.google.protobuf.ByteString getPackageNameBytes()
The name of the package where the vulnerability was detected.
string package_name = 1;getPackageNameBytes in interface PackageOrBuilderpublic String getCpeUri()
The CPE URI where the vulnerability was detected.
string cpe_uri = 2;getCpeUri in interface PackageOrBuilderpublic com.google.protobuf.ByteString getCpeUriBytes()
The CPE URI where the vulnerability was detected.
string cpe_uri = 2;getCpeUriBytes in interface PackageOrBuilderpublic String getPackageType()
Type of package, for example, os, maven, or go.
string package_type = 3;getPackageType in interface PackageOrBuilderpublic com.google.protobuf.ByteString getPackageTypeBytes()
Type of package, for example, os, maven, or go.
string package_type = 3;getPackageTypeBytes in interface PackageOrBuilderpublic String getPackageVersion()
The version of the package.
string package_version = 4;getPackageVersion in interface PackageOrBuilderpublic com.google.protobuf.ByteString getPackageVersionBytes()
The version of the package.
string package_version = 4;getPackageVersionBytes in interface PackageOrBuilderpublic 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 Package parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Package parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Package parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Package parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Package parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Package parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Package parseFrom(InputStream input) throws IOException
IOExceptionpublic static Package parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Package parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Package parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Package parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Package parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Package.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Package.Builder newBuilder()
public static Package.Builder newBuilder(Package prototype)
public Package.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Package.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Package getDefaultInstance()
public static com.google.protobuf.Parser<Package> parser()
public com.google.protobuf.Parser<Package> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Package getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.