Class ListFindingsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ListFindingsResponse.Builder> implements ListFindingsResponseOrBuilder
Response message for listing findings.
Protobuf typegoogle.cloud.securitycenter.v1p1beta1.ListFindingsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListFindingsResponse.Builder
addAllListFindingsResults(Iterable<? extends ListFindingsResponse.ListFindingsResult> values)
Findings matching the list request.ListFindingsResponse.Builder
addListFindingsResults(int index, ListFindingsResponse.ListFindingsResult value)
Findings matching the list request.ListFindingsResponse.Builder
addListFindingsResults(int index, ListFindingsResponse.ListFindingsResult.Builder builderForValue)
Findings matching the list request.ListFindingsResponse.Builder
addListFindingsResults(ListFindingsResponse.ListFindingsResult value)
Findings matching the list request.ListFindingsResponse.Builder
addListFindingsResults(ListFindingsResponse.ListFindingsResult.Builder builderForValue)
Findings matching the list request.ListFindingsResponse.ListFindingsResult.Builder
addListFindingsResultsBuilder()
Findings matching the list request.ListFindingsResponse.ListFindingsResult.Builder
addListFindingsResultsBuilder(int index)
Findings matching the list request.ListFindingsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListFindingsResponse
build()
ListFindingsResponse
buildPartial()
ListFindingsResponse.Builder
clear()
ListFindingsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListFindingsResponse.Builder
clearListFindingsResults()
Findings matching the list request.ListFindingsResponse.Builder
clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results.ListFindingsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListFindingsResponse.Builder
clearReadTime()
Time used for executing the list request.ListFindingsResponse.Builder
clearTotalSize()
The total number of findings matching the query.ListFindingsResponse.Builder
clone()
ListFindingsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ListFindingsResponse.ListFindingsResult
getListFindingsResults(int index)
Findings matching the list request.ListFindingsResponse.ListFindingsResult.Builder
getListFindingsResultsBuilder(int index)
Findings matching the list request.List<ListFindingsResponse.ListFindingsResult.Builder>
getListFindingsResultsBuilderList()
Findings matching the list request.int
getListFindingsResultsCount()
Findings matching the list request.List<ListFindingsResponse.ListFindingsResult>
getListFindingsResultsList()
Findings matching the list request.ListFindingsResponse.ListFindingsResultOrBuilder
getListFindingsResultsOrBuilder(int index)
Findings matching the list request.List<? extends ListFindingsResponse.ListFindingsResultOrBuilder>
getListFindingsResultsOrBuilderList()
Findings matching the list request.String
getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results.com.google.protobuf.ByteString
getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more results.com.google.protobuf.Timestamp
getReadTime()
Time used for executing the list request.com.google.protobuf.Timestamp.Builder
getReadTimeBuilder()
Time used for executing the list request.com.google.protobuf.TimestampOrBuilder
getReadTimeOrBuilder()
Time used for executing the list request.int
getTotalSize()
The total number of findings matching the query.boolean
hasReadTime()
Time used for executing the list request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListFindingsResponse.Builder
mergeFrom(ListFindingsResponse other)
ListFindingsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListFindingsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListFindingsResponse.Builder
mergeReadTime(com.google.protobuf.Timestamp value)
Time used for executing the list request.ListFindingsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListFindingsResponse.Builder
removeListFindingsResults(int index)
Findings matching the list request.ListFindingsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListFindingsResponse.Builder
setListFindingsResults(int index, ListFindingsResponse.ListFindingsResult value)
Findings matching the list request.ListFindingsResponse.Builder
setListFindingsResults(int index, ListFindingsResponse.ListFindingsResult.Builder builderForValue)
Findings matching the list request.ListFindingsResponse.Builder
setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no more results.ListFindingsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
Token to retrieve the next page of results, or empty if there are no more results.ListFindingsResponse.Builder
setReadTime(com.google.protobuf.Timestamp value)
Time used for executing the list request.ListFindingsResponse.Builder
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time used for executing the list request.ListFindingsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListFindingsResponse.Builder
setTotalSize(int value)
The total number of findings matching the query.ListFindingsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
-
clear
public ListFindingsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
-
getDefaultInstanceForType
public ListFindingsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListFindingsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListFindingsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListFindingsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
-
setField
public ListFindingsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
-
clearField
public ListFindingsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
-
clearOneof
public ListFindingsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
-
setRepeatedField
public ListFindingsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
-
addRepeatedField
public ListFindingsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
-
mergeFrom
public ListFindingsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListFindingsResponse.Builder>
-
mergeFrom
public ListFindingsResponse.Builder mergeFrom(ListFindingsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
-
mergeFrom
public ListFindingsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListFindingsResponse.Builder>
- Throws:
IOException
-
getListFindingsResultsList
public List<ListFindingsResponse.ListFindingsResult> getListFindingsResultsList()
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
- Specified by:
getListFindingsResultsList
in interfaceListFindingsResponseOrBuilder
-
getListFindingsResultsCount
public int getListFindingsResultsCount()
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
- Specified by:
getListFindingsResultsCount
in interfaceListFindingsResponseOrBuilder
-
getListFindingsResults
public ListFindingsResponse.ListFindingsResult getListFindingsResults(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
- Specified by:
getListFindingsResults
in 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
public ListFindingsResponse.Builder clearListFindingsResults()
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
-
removeListFindingsResults
public ListFindingsResponse.Builder removeListFindingsResults(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
-
getListFindingsResultsBuilder
public ListFindingsResponse.ListFindingsResult.Builder getListFindingsResultsBuilder(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
-
getListFindingsResultsOrBuilder
public ListFindingsResponse.ListFindingsResultOrBuilder getListFindingsResultsOrBuilder(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
- Specified by:
getListFindingsResultsOrBuilder
in 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:
getListFindingsResultsOrBuilderList
in interfaceListFindingsResponseOrBuilder
-
addListFindingsResultsBuilder
public ListFindingsResponse.ListFindingsResult.Builder addListFindingsResultsBuilder()
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
-
addListFindingsResultsBuilder
public ListFindingsResponse.ListFindingsResult.Builder addListFindingsResultsBuilder(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1p1beta1.ListFindingsResponse.ListFindingsResult list_findings_results = 1;
-
getListFindingsResultsBuilderList
public List<ListFindingsResponse.ListFindingsResult.Builder> 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:
hasReadTime
in 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:
getReadTime
in interfaceListFindingsResponseOrBuilder
- Returns:
- The readTime.
-
setReadTime
public ListFindingsResponse.Builder setReadTime(com.google.protobuf.Timestamp value)
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
public ListFindingsResponse.Builder mergeReadTime(com.google.protobuf.Timestamp value)
Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2;
-
clearReadTime
public ListFindingsResponse.Builder 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:
getReadTimeOrBuilder
in interfaceListFindingsResponseOrBuilder
-
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;
- Specified by:
getNextPageToken
in 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:
getNextPageTokenBytes
in interfaceListFindingsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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;
- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListFindingsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
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:
getTotalSize
in interfaceListFindingsResponseOrBuilder
- Returns:
- The totalSize.
-
setTotalSize
public ListFindingsResponse.Builder setTotalSize(int value)
The total number of findings matching the query.
int32 total_size = 4;
- Parameters:
value
- The totalSize to set.- Returns:
- This builder for chaining.
-
clearTotalSize
public ListFindingsResponse.Builder clearTotalSize()
The total number of findings matching the query.
int32 total_size = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListFindingsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
-
mergeUnknownFields
public final ListFindingsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
-
-