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
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
Name | Description |
values | Iterable<? extends com.google.cloud.websecurityscanner.v1beta.ScanRun>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListScanRunsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addScanRunsBuilder()
public ScanRun.Builder addScanRunsBuilder()
The list of ScanRuns returned.
repeated .google.cloud.websecurityscanner.v1beta.ScanRun scan_runs = 1;
Returns
addScanRunsBuilder(int index)
public ScanRun.Builder addScanRunsBuilder(int index)
The list of ScanRuns returned.
repeated .google.cloud.websecurityscanner.v1beta.ScanRun scan_runs = 1;
Parameter
Returns
build()
public ListScanRunsResponse build()
Returns
buildPartial()
public ListScanRunsResponse buildPartial()
Returns
clear()
public ListScanRunsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListScanRunsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListScanRunsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearScanRuns()
public ListScanRunsResponse.Builder clearScanRuns()
The list of ScanRuns returned.
repeated .google.cloud.websecurityscanner.v1beta.ScanRun scan_runs = 1;
Returns
clone()
public ListScanRunsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListScanRunsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v1beta.ScanRun scan_runs = 1;
Parameter
Returns
getScanRunsBuilder(int index)
public ScanRun.Builder getScanRunsBuilder(int index)
The list of ScanRuns returned.
repeated .google.cloud.websecurityscanner.v1beta.ScanRun scan_runs = 1;
Parameter
Returns
getScanRunsBuilderList()
public List<ScanRun.Builder> getScanRunsBuilderList()
The list of ScanRuns returned.
repeated .google.cloud.websecurityscanner.v1beta.ScanRun scan_runs = 1;
Returns
getScanRunsCount()
public int getScanRunsCount()
The list of ScanRuns returned.
repeated .google.cloud.websecurityscanner.v1beta.ScanRun scan_runs = 1;
Returns
getScanRunsList()
public List<ScanRun> getScanRunsList()
The list of ScanRuns returned.
repeated .google.cloud.websecurityscanner.v1beta.ScanRun scan_runs = 1;
Returns
getScanRunsOrBuilder(int index)
public ScanRunOrBuilder getScanRunsOrBuilder(int index)
The list of ScanRuns returned.
repeated .google.cloud.websecurityscanner.v1beta.ScanRun scan_runs = 1;
Parameter
Returns
getScanRunsOrBuilderList()
public List<? extends ScanRunOrBuilder> getScanRunsOrBuilderList()
The list of ScanRuns returned.
repeated .google.cloud.websecurityscanner.v1beta.ScanRun scan_runs = 1;
Returns
Type | Description |
List<? extends com.google.cloud.websecurityscanner.v1beta.ScanRunOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListScanRunsResponse other)
public ListScanRunsResponse.Builder mergeFrom(ListScanRunsResponse other)
Parameter
Returns
public ListScanRunsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListScanRunsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListScanRunsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListScanRunsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListScanRunsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListScanRunsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides