Class ListFindingsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListFindingsResponse.Builder>
com.google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.Builder
- All Implemented Interfaces:
ListFindingsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListFindingsResponse
public static final class ListFindingsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListFindingsResponse.Builder>
implements ListFindingsResponseOrBuilder
Response message for listing findings.Protobuf type
google.cloud.securitycenter.v1p1beta1.ListFindingsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllListFindingsResults(Iterable<? extends ListFindingsResponse.ListFindingsResult> values) Findings matching the list request.addListFindingsResults(int index, ListFindingsResponse.ListFindingsResult value) Findings matching the list request.addListFindingsResults(int index, ListFindingsResponse.ListFindingsResult.Builder builderForValue) Findings matching the list request.Findings matching the list request.addListFindingsResults(ListFindingsResponse.ListFindingsResult.Builder builderForValue) Findings matching the list request.Findings matching the list request.addListFindingsResultsBuilder(int index) Findings matching the list request.build()clear()Findings matching the list request.Token to retrieve the next page of results, or empty if there are no more results.Time used for executing the list request.The total number of findings matching the query.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetListFindingsResults(int index) Findings matching the list request.getListFindingsResultsBuilder(int index) Findings matching the list request.Findings matching the list request.intFindings matching the list request.Findings matching the list request.getListFindingsResultsOrBuilder(int index) Findings matching the list request.Findings matching the list request.Token to retrieve the next page of results, or empty if there are no more results.com.google.protobuf.ByteStringToken to retrieve the next page of results, or empty if there are no more results.com.google.protobuf.TimestampTime used for executing the list request.com.google.protobuf.Timestamp.BuilderTime used for executing the list request.com.google.protobuf.TimestampOrBuilderTime used for executing the list request.intThe total number of findings matching the query.booleanTime used for executing the list request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListFindingsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeReadTime(com.google.protobuf.Timestamp value) Time used for executing the list request.removeListFindingsResults(int index) Findings matching the list request.setListFindingsResults(int index, ListFindingsResponse.ListFindingsResult value) Findings matching the list request.setListFindingsResults(int index, ListFindingsResponse.ListFindingsResult.Builder builderForValue) Findings matching the list request.setNextPageToken(String value) Token to retrieve the next page of results, or empty if there are no more results.setNextPageTokenBytes(com.google.protobuf.ByteString value) Token to retrieve the next page of results, or empty if there are no more results.setReadTime(com.google.protobuf.Timestamp value) Time used for executing the list request.setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) Time used for executing the list request.setTotalSize(int value) The total number of findings matching the query.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListFindingsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListFindingsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListFindingsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListFindingsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListFindingsResponse.Builder>
-
mergeFrom
public ListFindingsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListFindingsResponse.Builder>- Throws:
IOException
-
getListFindingsResultsList
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;- Specified by:
getListFindingsResultsListin interfaceListFindingsResponseOrBuilder
-
getListFindingsResultsCount
public int getListFindingsResultsCount()Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;- Specified by:
getListFindingsResultsCountin interfaceListFindingsResponseOrBuilder
-
getListFindingsResults
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;- Specified by:
getListFindingsResultsin interfaceListFindingsResponseOrBuilder
-
setListFindingsResults
public ListFindingsResponse.Builder setListFindingsResults(int index, ListFindingsResponse.ListFindingsResult value) Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1; -
setListFindingsResults
public ListFindingsResponse.Builder setListFindingsResults(int index, ListFindingsResponse.ListFindingsResult.Builder builderForValue) Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1; -
addListFindingsResults
public ListFindingsResponse.Builder addListFindingsResults(ListFindingsResponse.ListFindingsResult value) Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1; -
addListFindingsResults
public ListFindingsResponse.Builder addListFindingsResults(int index, ListFindingsResponse.ListFindingsResult value) Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1; -
addListFindingsResults
public ListFindingsResponse.Builder addListFindingsResults(ListFindingsResponse.ListFindingsResult.Builder builderForValue) Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1; -
addListFindingsResults
public ListFindingsResponse.Builder addListFindingsResults(int index, ListFindingsResponse.ListFindingsResult.Builder builderForValue) Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1; -
addAllListFindingsResults
public ListFindingsResponse.Builder addAllListFindingsResults(Iterable<? extends ListFindingsResponse.ListFindingsResult> values) Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1; -
clearListFindingsResults
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1; -
removeListFindingsResults
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1; -
getListFindingsResultsBuilder
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1; -
getListFindingsResultsOrBuilder
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;- Specified by:
getListFindingsResultsOrBuilderin interfaceListFindingsResponseOrBuilder
-
getListFindingsResultsOrBuilderList
public List<? extends ListFindingsResponse.ListFindingsResultOrBuilder> getListFindingsResultsOrBuilderList()Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;- Specified by:
getListFindingsResultsOrBuilderListin interfaceListFindingsResponseOrBuilder
-
addListFindingsResultsBuilder
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1; -
addListFindingsResultsBuilder
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1; -
getListFindingsResultsBuilderList
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1; -
hasReadTime
public boolean hasReadTime()Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2;- Specified by:
hasReadTimein interfaceListFindingsResponseOrBuilder- Returns:
- Whether the readTime field is set.
-
getReadTime
public com.google.protobuf.Timestamp getReadTime()Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2;- Specified by:
getReadTimein interfaceListFindingsResponseOrBuilder- Returns:
- The readTime.
-
setReadTime
Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2; -
setReadTime
public ListFindingsResponse.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2; -
mergeReadTime
Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2; -
clearReadTime
Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2; -
getReadTimeBuilder
public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2; -
getReadTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2;- Specified by:
getReadTimeOrBuilderin interfaceListFindingsResponseOrBuilder
-
getNextPageToken
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;- Specified by:
getNextPageTokenin interfaceListFindingsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;- Specified by:
getNextPageTokenBytesin interfaceListFindingsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getTotalSize
public int getTotalSize()The total number of findings matching the query.
int32 total_size = 4;- Specified by:
getTotalSizein interfaceListFindingsResponseOrBuilder- Returns:
- The totalSize.
-
setTotalSize
The total number of findings matching the query.
int32 total_size = 4;- Parameters:
value- The totalSize to set.- Returns:
- This builder for chaining.
-
clearTotalSize
The total number of findings matching the query.
int32 total_size = 4;- Returns:
- This builder for chaining.
-