Class ListFindingsResponse.Builder (2.53.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFindings(Iterable<? extends Finding> values)

public ListFindingsResponse.Builder addAllFindings(Iterable<? extends Finding> values)

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1beta1.Finding>
Returns
Type Description
ListFindingsResponse.Builder

addFindings(Finding value)

public ListFindingsResponse.Builder addFindings(Finding value)

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Parameter
Name Description
value Finding
Returns
Type Description
ListFindingsResponse.Builder

addFindings(Finding.Builder builderForValue)

public ListFindingsResponse.Builder addFindings(Finding.Builder builderForValue)

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Parameter
Name Description
builderForValue Finding.Builder
Returns
Type Description
ListFindingsResponse.Builder

addFindings(int index, Finding value)

public ListFindingsResponse.Builder addFindings(int index, Finding value)

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Parameters
Name Description
index int
value Finding
Returns
Type Description
ListFindingsResponse.Builder

addFindings(int index, Finding.Builder builderForValue)

public ListFindingsResponse.Builder addFindings(int index, Finding.Builder builderForValue)

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Parameters
Name Description
index int
builderForValue Finding.Builder
Returns
Type Description
ListFindingsResponse.Builder

addFindingsBuilder()

public Finding.Builder addFindingsBuilder()

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Returns
Type Description
Finding.Builder

addFindingsBuilder(int index)

public Finding.Builder addFindingsBuilder(int index)

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Parameter
Name Description
index int
Returns
Type Description
Finding.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListFindingsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFindingsResponse.Builder
Overrides

build()

public ListFindingsResponse build()
Returns
Type Description
ListFindingsResponse

buildPartial()

public ListFindingsResponse buildPartial()
Returns
Type Description
ListFindingsResponse

clear()

public ListFindingsResponse.Builder clear()
Returns
Type Description
ListFindingsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListFindingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListFindingsResponse.Builder
Overrides

clearFindings()

public ListFindingsResponse.Builder clearFindings()

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Returns
Type Description
ListFindingsResponse.Builder

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
Type Description
ListFindingsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFindingsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListFindingsResponse.Builder
Overrides

clearReadTime()

public ListFindingsResponse.Builder clearReadTime()

Time used for executing the list request.

.google.protobuf.Timestamp read_time = 2;

Returns
Type Description
ListFindingsResponse.Builder

clearTotalSize()

public ListFindingsResponse.Builder clearTotalSize()

The total number of findings matching the query.

int32 total_size = 4;

Returns
Type Description
ListFindingsResponse.Builder

This builder for chaining.

clone()

public ListFindingsResponse.Builder clone()
Returns
Type Description
ListFindingsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListFindingsResponse getDefaultInstanceForType()
Returns
Type Description
ListFindingsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFindings(int index)

public Finding getFindings(int index)

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Parameter
Name Description
index int
Returns
Type Description
Finding

getFindingsBuilder(int index)

public Finding.Builder getFindingsBuilder(int index)

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Parameter
Name Description
index int
Returns
Type Description
Finding.Builder

getFindingsBuilderList()

public List<Finding.Builder> getFindingsBuilderList()

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Returns
Type Description
List<Builder>

getFindingsCount()

public int getFindingsCount()

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Returns
Type Description
int

getFindingsList()

public List<Finding> getFindingsList()

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Returns
Type Description
List<Finding>

getFindingsOrBuilder(int index)

public FindingOrBuilder getFindingsOrBuilder(int index)

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Parameter
Name Description
index int
Returns
Type Description
FindingOrBuilder

getFindingsOrBuilderList()

public List<? extends FindingOrBuilder> getFindingsOrBuilderList()

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1beta1.FindingOrBuilder>

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.

getReadTime()

public Timestamp getReadTime()

Time used for executing the list request.

.google.protobuf.Timestamp read_time = 2;

Returns
Type Description
Timestamp

The readTime.

getReadTimeBuilder()

public Timestamp.Builder getReadTimeBuilder()

Time used for executing the list request.

.google.protobuf.Timestamp read_time = 2;

Returns
Type Description
Builder

getReadTimeOrBuilder()

public TimestampOrBuilder getReadTimeOrBuilder()

Time used for executing the list request.

.google.protobuf.Timestamp read_time = 2;

Returns
Type Description
TimestampOrBuilder

getTotalSize()

public int getTotalSize()

The total number of findings matching the query.

int32 total_size = 4;

Returns
Type Description
int

The totalSize.

hasReadTime()

public boolean hasReadTime()

Time used for executing the list request.

.google.protobuf.Timestamp read_time = 2;

Returns
Type Description
boolean

Whether the readTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListFindingsResponse other)

public ListFindingsResponse.Builder mergeFrom(ListFindingsResponse other)
Parameter
Name Description
other ListFindingsResponse
Returns
Type Description
ListFindingsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListFindingsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFindingsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListFindingsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListFindingsResponse.Builder
Overrides

mergeReadTime(Timestamp value)

public ListFindingsResponse.Builder mergeReadTime(Timestamp value)

Time used for executing the list request.

.google.protobuf.Timestamp read_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ListFindingsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFindingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFindingsResponse.Builder
Overrides

removeFindings(int index)

public ListFindingsResponse.Builder removeFindings(int index)

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Parameter
Name Description
index int
Returns
Type Description
ListFindingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListFindingsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFindingsResponse.Builder
Overrides

setFindings(int index, Finding value)

public ListFindingsResponse.Builder setFindings(int index, Finding value)

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Parameters
Name Description
index int
value Finding
Returns
Type Description
ListFindingsResponse.Builder

setFindings(int index, Finding.Builder builderForValue)

public ListFindingsResponse.Builder setFindings(int index, Finding.Builder builderForValue)

Findings matching the list request.

repeated .google.cloud.securitycenter.v1beta1.Finding findings = 1;

Parameters
Name Description
index int
builderForValue Finding.Builder
Returns
Type Description
ListFindingsResponse.Builder

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.

Returns
Type Description
ListFindingsResponse.Builder

This builder for chaining.

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.

Returns
Type Description
ListFindingsResponse.Builder

This builder for chaining.

setReadTime(Timestamp value)

public ListFindingsResponse.Builder setReadTime(Timestamp value)

Time used for executing the list request.

.google.protobuf.Timestamp read_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
ListFindingsResponse.Builder

setReadTime(Timestamp.Builder builderForValue)

public ListFindingsResponse.Builder setReadTime(Timestamp.Builder builderForValue)

Time used for executing the list request.

.google.protobuf.Timestamp read_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ListFindingsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListFindingsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListFindingsResponse.Builder
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.

Returns
Type Description
ListFindingsResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFindingsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFindingsResponse.Builder
Overrides