public static final class ListFindingsResponse.Builder extends GeneratedMessageV3.Builder<ListFindingsResponse.Builder> implements ListFindingsResponseOrBuilder
Response message for listing findings.Protobuf type
google.cloud.securitycenter.v1beta1.ListFindingsResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
public ListFindingsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
public ListFindingsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListFindingsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListFindingsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListFindingsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
public ListFindingsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
public ListFindingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
public ListFindingsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
public ListFindingsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
public ListFindingsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
public ListFindingsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListFindingsResponse.Builder>
public ListFindingsResponse.Builder mergeFrom(ListFindingsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
public ListFindingsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListFindingsResponse.Builder>
IOException
public List<Finding> getFindingsList()
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
getFindingsList
in interface ListFindingsResponseOrBuilder
public int getFindingsCount()
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
getFindingsCount
in interface ListFindingsResponseOrBuilder
public Finding getFindings(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
getFindings
in interface ListFindingsResponseOrBuilder
public ListFindingsResponse.Builder setFindings(int index, Finding value)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
public ListFindingsResponse.Builder setFindings(int index, Finding.Builder builderForValue)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
public ListFindingsResponse.Builder addFindings(Finding value)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
public ListFindingsResponse.Builder addFindings(int index, Finding value)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
public ListFindingsResponse.Builder addFindings(Finding.Builder builderForValue)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
public ListFindingsResponse.Builder addFindings(int index, Finding.Builder builderForValue)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
public ListFindingsResponse.Builder addAllFindings(Iterable<? extends Finding> values)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
public ListFindingsResponse.Builder clearFindings()
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
public ListFindingsResponse.Builder removeFindings(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
public Finding.Builder getFindingsBuilder(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
public FindingOrBuilder getFindingsOrBuilder(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
getFindingsOrBuilder
in interface ListFindingsResponseOrBuilder
public List<? extends FindingOrBuilder> getFindingsOrBuilderList()
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
getFindingsOrBuilderList
in interface ListFindingsResponseOrBuilder
public Finding.Builder addFindingsBuilder()
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
public Finding.Builder addFindingsBuilder(int index)
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
public List<Finding.Builder> getFindingsBuilderList()
Findings matching the list request.
repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;
public boolean hasReadTime()
Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2;
hasReadTime
in interface ListFindingsResponseOrBuilder
public Timestamp getReadTime()
Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2;
getReadTime
in interface ListFindingsResponseOrBuilder
public ListFindingsResponse.Builder setReadTime(Timestamp value)
Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2;
public ListFindingsResponse.Builder setReadTime(Timestamp.Builder builderForValue)
Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2;
public ListFindingsResponse.Builder mergeReadTime(Timestamp value)
Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2;
public ListFindingsResponse.Builder clearReadTime()
Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2;
public Timestamp.Builder getReadTimeBuilder()
Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2;
public TimestampOrBuilder getReadTimeOrBuilder()
Time used for executing the list request.
.google.protobuf.Timestamp read_time = 2;
getReadTimeOrBuilder
in interface ListFindingsResponseOrBuilder
public String getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;
getNextPageToken
in interface ListFindingsResponseOrBuilder
public ByteString getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more results.
string next_page_token = 3;
getNextPageTokenBytes
in interface ListFindingsResponseOrBuilder
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;
value
- The nextPageToken to set.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;
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;
value
- The bytes for nextPageToken to set.public int getTotalSize()
The total number of findings matching the query.
int32 total_size = 4;
getTotalSize
in interface ListFindingsResponseOrBuilder
public ListFindingsResponse.Builder setTotalSize(int value)
The total number of findings matching the query.
int32 total_size = 4;
value
- The totalSize to set.public ListFindingsResponse.Builder clearTotalSize()
The total number of findings matching the query.
int32 total_size = 4;
public final ListFindingsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
public final ListFindingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListFindingsResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.