Class ListVulnerabilityReportsResponse (2.49.0)

public final class ListVulnerabilityReportsResponse extends GeneratedMessageV3 implements ListVulnerabilityReportsResponseOrBuilder

A response message for listing vulnerability reports for all VM instances in the specified location.

Protobuf type google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListVulnerabilityReportsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

VULNERABILITY_REPORTS_FIELD_NUMBER

public static final int VULNERABILITY_REPORTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListVulnerabilityReportsResponse getDefaultInstance()
Returns
Type Description
ListVulnerabilityReportsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListVulnerabilityReportsResponse.Builder newBuilder()
Returns
Type Description
ListVulnerabilityReportsResponse.Builder

newBuilder(ListVulnerabilityReportsResponse prototype)

public static ListVulnerabilityReportsResponse.Builder newBuilder(ListVulnerabilityReportsResponse prototype)
Parameter
Name Description
prototype ListVulnerabilityReportsResponse
Returns
Type Description
ListVulnerabilityReportsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListVulnerabilityReportsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListVulnerabilityReportsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListVulnerabilityReportsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListVulnerabilityReportsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListVulnerabilityReportsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListVulnerabilityReportsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListVulnerabilityReportsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListVulnerabilityReportsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListVulnerabilityReportsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListVulnerabilityReportsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListVulnerabilityReportsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListVulnerabilityReportsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListVulnerabilityReportsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListVulnerabilityReportsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListVulnerabilityReportsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListVulnerabilityReportsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListVulnerabilityReportsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListVulnerabilityReportsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListVulnerabilityReportsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListVulnerabilityReportsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListVulnerabilityReportsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListVulnerabilityReportsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListVulnerabilityReportsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListVulnerabilityReportsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListVulnerabilityReportsResponse> parser()
Returns
Type Description
Parser<ListVulnerabilityReportsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListVulnerabilityReportsResponse getDefaultInstanceForType()
Returns
Type Description
ListVulnerabilityReportsResponse

getNextPageToken()

public String getNextPageToken()

The pagination token to retrieve the next page of vulnerabilityReports object.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The pagination token to retrieve the next page of vulnerabilityReports object.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListVulnerabilityReportsResponse> getParserForType()
Returns
Type Description
Parser<ListVulnerabilityReportsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVulnerabilityReports(int index)

public VulnerabilityReport getVulnerabilityReports(int index)

List of vulnerabilityReport objects.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;

Parameter
Name Description
index int
Returns
Type Description
VulnerabilityReport

getVulnerabilityReportsCount()

public int getVulnerabilityReportsCount()

List of vulnerabilityReport objects.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;

Returns
Type Description
int

getVulnerabilityReportsList()

public List<VulnerabilityReport> getVulnerabilityReportsList()

List of vulnerabilityReport objects.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;

Returns
Type Description
List<VulnerabilityReport>

getVulnerabilityReportsOrBuilder(int index)

public VulnerabilityReportOrBuilder getVulnerabilityReportsOrBuilder(int index)

List of vulnerabilityReport objects.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;

Parameter
Name Description
index int
Returns
Type Description
VulnerabilityReportOrBuilder

getVulnerabilityReportsOrBuilderList()

public List<? extends VulnerabilityReportOrBuilder> getVulnerabilityReportsOrBuilderList()

List of vulnerabilityReport objects.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport vulnerability_reports = 1;

Returns
Type Description
List<? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReportOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListVulnerabilityReportsResponse.Builder newBuilderForType()
Returns
Type Description
ListVulnerabilityReportsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListVulnerabilityReportsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListVulnerabilityReportsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListVulnerabilityReportsResponse.Builder toBuilder()
Returns
Type Description
ListVulnerabilityReportsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException