Class ListVulnerabilityReportsResponse (2.11.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.v1.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
TypeDescription
int

VULNERABILITY_REPORTS_FIELD_NUMBER

public static final int VULNERABILITY_REPORTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListVulnerabilityReportsResponse getDefaultInstance()
Returns
TypeDescription
ListVulnerabilityReportsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListVulnerabilityReportsResponse.Builder newBuilder()
Returns
TypeDescription
ListVulnerabilityReportsResponse.Builder

newBuilder(ListVulnerabilityReportsResponse prototype)

public static ListVulnerabilityReportsResponse.Builder newBuilder(ListVulnerabilityReportsResponse prototype)
Parameter
NameDescription
prototypeListVulnerabilityReportsResponse
Returns
TypeDescription
ListVulnerabilityReportsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListVulnerabilityReportsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListVulnerabilityReportsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListVulnerabilityReportsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListVulnerabilityReportsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListVulnerabilityReportsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListVulnerabilityReportsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListVulnerabilityReportsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListVulnerabilityReportsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListVulnerabilityReportsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListVulnerabilityReportsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListVulnerabilityReportsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListVulnerabilityReportsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListVulnerabilityReportsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListVulnerabilityReportsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListVulnerabilityReportsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListVulnerabilityReportsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListVulnerabilityReportsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListVulnerabilityReportsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListVulnerabilityReportsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListVulnerabilityReportsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListVulnerabilityReportsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListVulnerabilityReportsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListVulnerabilityReportsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListVulnerabilityReportsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListVulnerabilityReportsResponse> parser()
Returns
TypeDescription
Parser<ListVulnerabilityReportsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListVulnerabilityReportsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListVulnerabilityReportsResponse

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListVulnerabilityReportsResponse> getParserForType()
Returns
TypeDescription
Parser<ListVulnerabilityReportsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVulnerabilityReports(int index)

public VulnerabilityReport getVulnerabilityReports(int index)

List of vulnerabilityReport objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityReport

getVulnerabilityReportsCount()

public int getVulnerabilityReportsCount()

List of vulnerabilityReport objects.

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

Returns
TypeDescription
int

getVulnerabilityReportsList()

public List<VulnerabilityReport> getVulnerabilityReportsList()

List of vulnerabilityReport objects.

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

Returns
TypeDescription
List<VulnerabilityReport>

getVulnerabilityReportsOrBuilder(int index)

public VulnerabilityReportOrBuilder getVulnerabilityReportsOrBuilder(int index)

List of vulnerabilityReport objects.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityReportOrBuilder

getVulnerabilityReportsOrBuilderList()

public List<? extends VulnerabilityReportOrBuilder> getVulnerabilityReportsOrBuilderList()

List of vulnerabilityReport objects.

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

Returns
TypeDescription
List<? extends com.google.cloud.osconfig.v1.VulnerabilityReportOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListVulnerabilityReportsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListVulnerabilityReportsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListVulnerabilityReportsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListVulnerabilityReportsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListVulnerabilityReportsResponse.Builder toBuilder()
Returns
TypeDescription
ListVulnerabilityReportsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException