Class ListScanRunsResponse (2.11.0)

public final class ListScanRunsResponse extends GeneratedMessageV3 implements ListScanRunsResponseOrBuilder

Response for the ListScanRuns method.

Protobuf type google.cloud.websecurityscanner.v1.ListScanRunsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SCAN_RUNS_FIELD_NUMBER

public static final int SCAN_RUNS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListScanRunsResponse getDefaultInstance()
Returns
TypeDescription
ListScanRunsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListScanRunsResponse prototype)

public static ListScanRunsResponse.Builder newBuilder(ListScanRunsResponse prototype)
Parameter
NameDescription
prototypeListScanRunsResponse
Returns
TypeDescription
ListScanRunsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListScanRunsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListScanRunsResponse

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getScanRuns(int index)

public ScanRun getScanRuns(int index)

The list of ScanRuns returned.

repeated .google.cloud.websecurityscanner.v1.ScanRun scan_runs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ScanRun

getScanRunsCount()

public int getScanRunsCount()

The list of ScanRuns returned.

repeated .google.cloud.websecurityscanner.v1.ScanRun scan_runs = 1;

Returns
TypeDescription
int

getScanRunsList()

public List<ScanRun> getScanRunsList()

The list of ScanRuns returned.

repeated .google.cloud.websecurityscanner.v1.ScanRun scan_runs = 1;

Returns
TypeDescription
List<ScanRun>

getScanRunsOrBuilder(int index)

public ScanRunOrBuilder getScanRunsOrBuilder(int index)

The list of ScanRuns returned.

repeated .google.cloud.websecurityscanner.v1.ScanRun scan_runs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ScanRunOrBuilder

getScanRunsOrBuilderList()

public List<? extends ScanRunOrBuilder> getScanRunsOrBuilderList()

The list of ScanRuns returned.

repeated .google.cloud.websecurityscanner.v1.ScanRun scan_runs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.websecurityscanner.v1.ScanRunOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 ListScanRunsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListScanRunsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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