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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListScanRunsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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
|
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;
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
|
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;
addScanRunsBuilder()
public ScanRun.Builder addScanRunsBuilder()
The list of ScanRuns returned.
repeated .google.cloud.websecurityscanner.v1.ScanRun scan_runs = 1;
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
|
build()
public ListScanRunsResponse build()
buildPartial()
public ListScanRunsResponse buildPartial()
clear()
public ListScanRunsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListScanRunsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListScanRunsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearScanRuns()
public ListScanRunsResponse.Builder clearScanRuns()
The list of ScanRuns returned.
repeated .google.cloud.websecurityscanner.v1.ScanRun scan_runs = 1;
clone()
public ListScanRunsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListScanRunsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getScanRunsBuilderList()
public List<ScanRun.Builder> getScanRunsBuilderList()
The list of ScanRuns returned.
repeated .google.cloud.websecurityscanner.v1.ScanRun scan_runs = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListScanRunsResponse other)
public ListScanRunsResponse.Builder mergeFrom(ListScanRunsResponse other)
public ListScanRunsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListScanRunsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListScanRunsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListScanRunsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListScanRunsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListScanRunsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides