Class ListScanRunsResponse.Builder (2.45.0)

public static final class ListScanRunsResponse.Builder extends GeneratedMessageV3.Builder<ListScanRunsResponse.Builder> implements ListScanRunsResponseOrBuilder

Response for the ListScanRuns method.

Protobuf type google.cloud.websecurityscanner.v1.ListScanRunsResponse

Static Methods

getDescriptor()

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

Methods

addAllScanRuns(Iterable<? extends ScanRun> values)

public ListScanRunsResponse.Builder addAllScanRuns(Iterable<? extends ScanRun> values)

The list of ScanRuns returned.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.websecurityscanner.v1.ScanRun>
Returns
Type Description
ListScanRunsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListScanRunsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListScanRunsResponse.Builder
Overrides

addScanRuns(ScanRun value)

public ListScanRunsResponse.Builder addScanRuns(ScanRun value)

The list of ScanRuns returned.

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

Parameter
Name Description
value ScanRun
Returns
Type Description
ListScanRunsResponse.Builder

addScanRuns(ScanRun.Builder builderForValue)

public ListScanRunsResponse.Builder addScanRuns(ScanRun.Builder builderForValue)

The list of ScanRuns returned.

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

Parameter
Name Description
builderForValue ScanRun.Builder
Returns
Type Description
ListScanRunsResponse.Builder

addScanRuns(int index, ScanRun value)

public ListScanRunsResponse.Builder addScanRuns(int index, ScanRun value)

The list of ScanRuns returned.

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

Parameters
Name Description
index int
value ScanRun
Returns
Type Description
ListScanRunsResponse.Builder

addScanRuns(int index, ScanRun.Builder builderForValue)

public ListScanRunsResponse.Builder addScanRuns(int index, ScanRun.Builder builderForValue)

The list of ScanRuns returned.

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

Parameters
Name Description
index int
builderForValue ScanRun.Builder
Returns
Type Description
ListScanRunsResponse.Builder

addScanRunsBuilder()

public ScanRun.Builder addScanRunsBuilder()

The list of ScanRuns returned.

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

Returns
Type Description
ScanRun.Builder

addScanRunsBuilder(int index)

public ScanRun.Builder addScanRunsBuilder(int index)

The list of ScanRuns returned.

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

Parameter
Name Description
index int
Returns
Type Description
ScanRun.Builder

build()

public ListScanRunsResponse build()
Returns
Type Description
ListScanRunsResponse

buildPartial()

public ListScanRunsResponse buildPartial()
Returns
Type Description
ListScanRunsResponse

clear()

public ListScanRunsResponse.Builder clear()
Returns
Type Description
ListScanRunsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListScanRunsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListScanRunsResponse.Builder
Overrides

clearNextPageToken()

public ListScanRunsResponse.Builder clearNextPageToken()

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
Type Description
ListScanRunsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListScanRunsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListScanRunsResponse.Builder
Overrides

clearScanRuns()

public ListScanRunsResponse.Builder clearScanRuns()

The list of ScanRuns returned.

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

Returns
Type Description
ListScanRunsResponse.Builder

clone()

public ListScanRunsResponse.Builder clone()
Returns
Type Description
ListScanRunsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListScanRunsResponse getDefaultInstanceForType()
Returns
Type Description
ListScanRunsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

getScanRuns(int index)

public ScanRun getScanRuns(int index)

The list of ScanRuns returned.

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

Parameter
Name Description
index int
Returns
Type Description
ScanRun

getScanRunsBuilder(int index)

public ScanRun.Builder getScanRunsBuilder(int index)

The list of ScanRuns returned.

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

Parameter
Name Description
index int
Returns
Type Description
ScanRun.Builder

getScanRunsBuilderList()

public List<ScanRun.Builder> getScanRunsBuilderList()

The list of ScanRuns returned.

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

Returns
Type Description
List<Builder>

getScanRunsCount()

public int getScanRunsCount()

The list of ScanRuns returned.

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

Returns
Type Description
int

getScanRunsList()

public List<ScanRun> getScanRunsList()

The list of ScanRuns returned.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ScanRunOrBuilder

getScanRunsOrBuilderList()

public List<? extends ScanRunOrBuilder> getScanRunsOrBuilderList()

The list of ScanRuns returned.

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListScanRunsResponse other)

public ListScanRunsResponse.Builder mergeFrom(ListScanRunsResponse other)
Parameter
Name Description
other ListScanRunsResponse
Returns
Type Description
ListScanRunsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListScanRunsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListScanRunsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListScanRunsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListScanRunsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListScanRunsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListScanRunsResponse.Builder
Overrides

removeScanRuns(int index)

public ListScanRunsResponse.Builder removeScanRuns(int index)

The list of ScanRuns returned.

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

Parameter
Name Description
index int
Returns
Type Description
ListScanRunsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListScanRunsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListScanRunsResponse.Builder
Overrides

setNextPageToken(String value)

public ListScanRunsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListScanRunsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListScanRunsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListScanRunsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListScanRunsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListScanRunsResponse.Builder
Overrides

setScanRuns(int index, ScanRun value)

public ListScanRunsResponse.Builder setScanRuns(int index, ScanRun value)

The list of ScanRuns returned.

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

Parameters
Name Description
index int
value ScanRun
Returns
Type Description
ListScanRunsResponse.Builder

setScanRuns(int index, ScanRun.Builder builderForValue)

public ListScanRunsResponse.Builder setScanRuns(int index, ScanRun.Builder builderForValue)

The list of ScanRuns returned.

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

Parameters
Name Description
index int
builderForValue ScanRun.Builder
Returns
Type Description
ListScanRunsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListScanRunsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListScanRunsResponse.Builder
Overrides