public final class VulnerabilityReport extends com.google.protobuf.GeneratedMessageV3 implements VulnerabilityReportOrBuilder
This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time. For more information, see [Vulnerability reports](https://cloud.google.com/compute/docs/instances/os-inventory-management#vulnerability-reports).Protobuf type
google.cloud.osconfig.v1alpha.VulnerabilityReport| Modifier and Type | Class and Description |
|---|---|
static class |
VulnerabilityReport.Builder
This API resource represents the vulnerability report for a specified
Compute Engine virtual machine (VM) instance at a given point in time.
|
static class |
VulnerabilityReport.Vulnerability
A vulnerability affecting the VM instance.
|
static interface |
VulnerabilityReport.VulnerabilityOrBuilder |
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 |
NAME_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
VULNERABILITIES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static VulnerabilityReport |
getDefaultInstance() |
VulnerabilityReport |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<VulnerabilityReport> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
VulnerabilityReport.Vulnerability |
getVulnerabilities(int index)
Output only.
|
int |
getVulnerabilitiesCount()
Output only.
|
List<VulnerabilityReport.Vulnerability> |
getVulnerabilitiesList()
Output only.
|
VulnerabilityReport.VulnerabilityOrBuilder |
getVulnerabilitiesOrBuilder(int index)
Output only.
|
List<? extends VulnerabilityReport.VulnerabilityOrBuilder> |
getVulnerabilitiesOrBuilderList()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VulnerabilityReport.Builder |
newBuilder() |
static VulnerabilityReport.Builder |
newBuilder(VulnerabilityReport prototype) |
VulnerabilityReport.Builder |
newBuilderForType() |
protected VulnerabilityReport.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VulnerabilityReport |
parseDelimitedFrom(InputStream input) |
static VulnerabilityReport |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VulnerabilityReport |
parseFrom(byte[] data) |
static VulnerabilityReport |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VulnerabilityReport |
parseFrom(ByteBuffer data) |
static VulnerabilityReport |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VulnerabilityReport |
parseFrom(com.google.protobuf.ByteString data) |
static VulnerabilityReport |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VulnerabilityReport |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VulnerabilityReport |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VulnerabilityReport |
parseFrom(InputStream input) |
static VulnerabilityReport |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VulnerabilityReport> |
parser() |
VulnerabilityReport.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 NAME_FIELD_NUMBER
public static final int VULNERABILITIES_FIELD_NUMBER
public static final int UPDATE_TIME_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 getName()
Output only. The `vulnerabilityReport` API resource name.
Format:
`projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface VulnerabilityReportOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The `vulnerabilityReport` API resource name.
Format:
`projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface VulnerabilityReportOrBuilderpublic List<VulnerabilityReport.Vulnerability> getVulnerabilitiesList()
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVulnerabilitiesList in interface VulnerabilityReportOrBuilderpublic List<? extends VulnerabilityReport.VulnerabilityOrBuilder> getVulnerabilitiesOrBuilderList()
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVulnerabilitiesOrBuilderList in interface VulnerabilityReportOrBuilderpublic int getVulnerabilitiesCount()
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVulnerabilitiesCount in interface VulnerabilityReportOrBuilderpublic VulnerabilityReport.Vulnerability getVulnerabilities(int index)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVulnerabilities in interface VulnerabilityReportOrBuilderpublic VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder(int index)
Output only. List of vulnerabilities affecting the VM.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVulnerabilitiesOrBuilder in interface VulnerabilityReportOrBuilderpublic boolean hasUpdateTime()
Output only. The timestamp for when the last vulnerability report was generated for the VM.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface VulnerabilityReportOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The timestamp for when the last vulnerability report was generated for the VM.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface VulnerabilityReportOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp for when the last vulnerability report was generated for the VM.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface VulnerabilityReportOrBuilderpublic 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 VulnerabilityReport parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VulnerabilityReport parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VulnerabilityReport parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VulnerabilityReport parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VulnerabilityReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VulnerabilityReport parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VulnerabilityReport parseFrom(InputStream input) throws IOException
IOExceptionpublic static VulnerabilityReport parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VulnerabilityReport parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VulnerabilityReport parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VulnerabilityReport parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VulnerabilityReport parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VulnerabilityReport.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static VulnerabilityReport.Builder newBuilder()
public static VulnerabilityReport.Builder newBuilder(VulnerabilityReport prototype)
public VulnerabilityReport.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected VulnerabilityReport.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static VulnerabilityReport getDefaultInstance()
public static com.google.protobuf.Parser<VulnerabilityReport> parser()
public com.google.protobuf.Parser<VulnerabilityReport> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public VulnerabilityReport getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.