public static final class ListFindingsResponse.Builder extends GeneratedMessageV3.Builder<ListFindingsResponse.Builder> implements ListFindingsResponseOrBuilder
Response message for listing findings.
Protobuf type google.cloud.securitycenter.v2.ListFindingsResponse
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
addAllListFindingsResults(Iterable<? extends ListFindingsResponse.ListFindingsResult> values)
public ListFindingsResponse.Builder addAllListFindingsResults(Iterable<? extends ListFindingsResponse.ListFindingsResult> values)
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult>
|
addListFindingsResults(ListFindingsResponse.ListFindingsResult value)
public ListFindingsResponse.Builder addListFindingsResults(ListFindingsResponse.ListFindingsResult value)
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
addListFindingsResults(ListFindingsResponse.ListFindingsResult.Builder builderForValue)
public ListFindingsResponse.Builder addListFindingsResults(ListFindingsResponse.ListFindingsResult.Builder builderForValue)
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
addListFindingsResults(int index, ListFindingsResponse.ListFindingsResult value)
public ListFindingsResponse.Builder addListFindingsResults(int index, ListFindingsResponse.ListFindingsResult value)
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
addListFindingsResults(int index, ListFindingsResponse.ListFindingsResult.Builder builderForValue)
public ListFindingsResponse.Builder addListFindingsResults(int index, ListFindingsResponse.ListFindingsResult.Builder builderForValue)
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
addListFindingsResultsBuilder()
public ListFindingsResponse.ListFindingsResult.Builder addListFindingsResultsBuilder()
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
addListFindingsResultsBuilder(int index)
public ListFindingsResponse.ListFindingsResult.Builder addListFindingsResultsBuilder(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListFindingsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListFindingsResponse build()
buildPartial()
public ListFindingsResponse buildPartial()
clear()
public ListFindingsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListFindingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearListFindingsResults()
public ListFindingsResponse.Builder clearListFindingsResults()
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
clearNextPageToken()
public ListFindingsResponse.Builder clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no more
results.
string next_page_token = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListFindingsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTotalSize()
public ListFindingsResponse.Builder clearTotalSize()
The total number of findings matching the query.
int32 total_size = 4;
clone()
public ListFindingsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListFindingsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getListFindingsResults(int index)
public ListFindingsResponse.ListFindingsResult getListFindingsResults(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
Parameter |
Name |
Description |
index |
int
|
getListFindingsResultsBuilder(int index)
public ListFindingsResponse.ListFindingsResult.Builder getListFindingsResultsBuilder(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
Parameter |
Name |
Description |
index |
int
|
getListFindingsResultsBuilderList()
public List<ListFindingsResponse.ListFindingsResult.Builder> getListFindingsResultsBuilderList()
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
getListFindingsResultsCount()
public int getListFindingsResultsCount()
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
Returns |
Type |
Description |
int |
|
getListFindingsResultsList()
public List<ListFindingsResponse.ListFindingsResult> getListFindingsResultsList()
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
getListFindingsResultsOrBuilder(int index)
public ListFindingsResponse.ListFindingsResultOrBuilder getListFindingsResultsOrBuilder(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
Parameter |
Name |
Description |
index |
int
|
getListFindingsResultsOrBuilderList()
public List<? extends ListFindingsResponse.ListFindingsResultOrBuilder> getListFindingsResultsOrBuilderList()
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResultOrBuilder> |
|
getNextPageToken()
public String getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more
results.
string next_page_token = 3;
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.
string next_page_token = 3;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getTotalSize()
public int getTotalSize()
The total number of findings matching the query.
int32 total_size = 4;
Returns |
Type |
Description |
int |
The totalSize.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListFindingsResponse other)
public ListFindingsResponse.Builder mergeFrom(ListFindingsResponse other)
public ListFindingsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListFindingsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListFindingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeListFindingsResults(int index)
public ListFindingsResponse.Builder removeListFindingsResults(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListFindingsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setListFindingsResults(int index, ListFindingsResponse.ListFindingsResult value)
public ListFindingsResponse.Builder setListFindingsResults(int index, ListFindingsResponse.ListFindingsResult value)
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
setListFindingsResults(int index, ListFindingsResponse.ListFindingsResult.Builder builderForValue)
public ListFindingsResponse.Builder setListFindingsResults(int index, ListFindingsResponse.ListFindingsResult.Builder builderForValue)
Findings matching the list request.
repeated .google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
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.
string next_page_token = 3;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
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.
string next_page_token = 3;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListFindingsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTotalSize(int value)
public ListFindingsResponse.Builder setTotalSize(int value)
The total number of findings matching the query.
int32 total_size = 4;
Parameter |
Name |
Description |
value |
int
The totalSize to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListFindingsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides