Class ListScanRunsResponse.Builder (2.40.0)

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

Response for the ListScanRuns method.

Protobuf type google.cloud.websecurityscanner.v1beta.ListScanRunsResponse

Static Methods

getDescriptor()

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

Methods

addAllScanRuns(Iterable<? extends ScanRun> values)

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

The list of ScanRuns returned.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.websecurityscanner.v1beta.ScanRun>
Returns
TypeDescription
ListScanRunsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListScanRunsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListScanRunsResponse.Builder
Overrides

addScanRuns(ScanRun value)

public ListScanRunsResponse.Builder addScanRuns(ScanRun value)

The list of ScanRuns returned.

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

Parameter
NameDescription
valueScanRun
Returns
TypeDescription
ListScanRunsResponse.Builder

addScanRuns(ScanRun.Builder builderForValue)

public ListScanRunsResponse.Builder addScanRuns(ScanRun.Builder builderForValue)

The list of ScanRuns returned.

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

Parameter
NameDescription
builderForValueScanRun.Builder
Returns
TypeDescription
ListScanRunsResponse.Builder

addScanRuns(int index, ScanRun value)

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

The list of ScanRuns returned.

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

Parameters
NameDescription
indexint
valueScanRun
Returns
TypeDescription
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.v1beta.ScanRun scan_runs = 1;

Parameters
NameDescription
indexint
builderForValueScanRun.Builder
Returns
TypeDescription
ListScanRunsResponse.Builder

addScanRunsBuilder()

public ScanRun.Builder addScanRunsBuilder()

The list of ScanRuns returned.

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

Returns
TypeDescription
ScanRun.Builder

addScanRunsBuilder(int index)

public ScanRun.Builder addScanRunsBuilder(int index)

The list of ScanRuns returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ScanRun.Builder

build()

public ListScanRunsResponse build()
Returns
TypeDescription
ListScanRunsResponse

buildPartial()

public ListScanRunsResponse buildPartial()
Returns
TypeDescription
ListScanRunsResponse

clear()

public ListScanRunsResponse.Builder clear()
Returns
TypeDescription
ListScanRunsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListScanRunsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListScanRunsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListScanRunsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListScanRunsResponse.Builder
Overrides

clearScanRuns()

public ListScanRunsResponse.Builder clearScanRuns()

The list of ScanRuns returned.

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

Returns
TypeDescription
ListScanRunsResponse.Builder

clone()

public ListScanRunsResponse.Builder clone()
Returns
TypeDescription
ListScanRunsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListScanRunsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListScanRunsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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.

getScanRuns(int index)

public ScanRun getScanRuns(int index)

The list of ScanRuns returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ScanRun

getScanRunsBuilder(int index)

public ScanRun.Builder getScanRunsBuilder(int index)

The list of ScanRuns returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ScanRun.Builder

getScanRunsBuilderList()

public List<ScanRun.Builder> getScanRunsBuilderList()

The list of ScanRuns returned.

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

Returns
TypeDescription
List<Builder>

getScanRunsCount()

public int getScanRunsCount()

The list of ScanRuns returned.

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

Returns
TypeDescription
int

getScanRunsList()

public List<ScanRun> getScanRunsList()

The list of ScanRuns returned.

repeated .google.cloud.websecurityscanner.v1beta.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.v1beta.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.v1beta.ScanRun scan_runs = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListScanRunsResponse other)

public ListScanRunsResponse.Builder mergeFrom(ListScanRunsResponse other)
Parameter
NameDescription
otherListScanRunsResponse
Returns
TypeDescription
ListScanRunsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListScanRunsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListScanRunsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListScanRunsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListScanRunsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListScanRunsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListScanRunsResponse.Builder
Overrides

removeScanRuns(int index)

public ListScanRunsResponse.Builder removeScanRuns(int index)

The list of ScanRuns returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListScanRunsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListScanRunsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1beta.ScanRun scan_runs = 1;

Parameters
NameDescription
indexint
valueScanRun
Returns
TypeDescription
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.v1beta.ScanRun scan_runs = 1;

Parameters
NameDescription
indexint
builderForValueScanRun.Builder
Returns
TypeDescription
ListScanRunsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListScanRunsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListScanRunsResponse.Builder
Overrides