public static final class ListFindingsResponse.Builder extends GeneratedMessageV3.Builder<ListFindingsResponse.Builder> implements ListFindingsResponseOrBuilder
Response for the ListFindings
method.
Protobuf type google.cloud.websecurityscanner.v1alpha.ListFindingsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllFindings(Iterable<? extends Finding> values)
public ListFindingsResponse.Builder addAllFindings(Iterable<? extends Finding> values)
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.websecurityscanner.v1alpha.Finding>
|
Returns
addFindings(Finding value)
public ListFindingsResponse.Builder addFindings(Finding value)
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Parameter
Returns
addFindings(Finding.Builder builderForValue)
public ListFindingsResponse.Builder addFindings(Finding.Builder builderForValue)
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Parameter
Returns
addFindings(int index, Finding value)
public ListFindingsResponse.Builder addFindings(int index, Finding value)
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Parameters
Returns
addFindings(int index, Finding.Builder builderForValue)
public ListFindingsResponse.Builder addFindings(int index, Finding.Builder builderForValue)
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Parameters
Returns
addFindingsBuilder()
public Finding.Builder addFindingsBuilder()
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Returns
addFindingsBuilder(int index)
public Finding.Builder addFindingsBuilder(int index)
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListFindingsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListFindingsResponse build()
Returns
buildPartial()
public ListFindingsResponse buildPartial()
Returns
clear()
public ListFindingsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListFindingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFindings()
public ListFindingsResponse.Builder clearFindings()
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Returns
clearNextPageToken()
public ListFindingsResponse.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 ListFindingsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListFindingsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListFindingsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFindings(int index)
public Finding getFindings(int index)
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Parameter
Returns
getFindingsBuilder(int index)
public Finding.Builder getFindingsBuilder(int index)
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Parameter
Returns
getFindingsBuilderList()
public List<Finding.Builder> getFindingsBuilderList()
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Returns
getFindingsCount()
public int getFindingsCount()
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Returns
getFindingsList()
public List<Finding> getFindingsList()
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Returns
getFindingsOrBuilder(int index)
public FindingOrBuilder getFindingsOrBuilder(int index)
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Parameter
Returns
getFindingsOrBuilderList()
public List<? extends FindingOrBuilder> getFindingsOrBuilderList()
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Returns
Type | Description |
List<? extends com.google.cloud.websecurityscanner.v1alpha.FindingOrBuilder> | |
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListFindingsResponse other)
public ListFindingsResponse.Builder mergeFrom(ListFindingsResponse other)
Parameter
Returns
public ListFindingsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListFindingsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListFindingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeFindings(int index)
public ListFindingsResponse.Builder removeFindings(int index)
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListFindingsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFindings(int index, Finding value)
public ListFindingsResponse.Builder setFindings(int index, Finding value)
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Parameters
Returns
setFindings(int index, Finding.Builder builderForValue)
public ListFindingsResponse.Builder setFindings(int index, Finding.Builder builderForValue)
The list of Findings returned.
repeated .google.cloud.websecurityscanner.v1alpha.Finding findings = 1;
Parameters
Returns
setNextPageToken(String value)
public ListFindingsResponse.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 ListFindingsResponse.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 ListFindingsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListFindingsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides