Class ListValuedResourcesResponse.Builder (2.63.0)

public static final class ListValuedResourcesResponse.Builder extends GeneratedMessageV3.Builder<ListValuedResourcesResponse.Builder> implements ListValuedResourcesResponseOrBuilder

Response message for listing the valued resources for a given simulation.

Protobuf type google.cloud.securitycenter.v1.ListValuedResourcesResponse

Static Methods

getDescriptor()

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

Methods

addAllValuedResources(Iterable<? extends ValuedResource> values)

public ListValuedResourcesResponse.Builder addAllValuedResources(Iterable<? extends ValuedResource> values)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.ValuedResource>
Returns
Type Description
ListValuedResourcesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addValuedResources(ValuedResource value)

public ListValuedResourcesResponse.Builder addValuedResources(ValuedResource value)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Parameter
Name Description
value ValuedResource
Returns
Type Description
ListValuedResourcesResponse.Builder

addValuedResources(ValuedResource.Builder builderForValue)

public ListValuedResourcesResponse.Builder addValuedResources(ValuedResource.Builder builderForValue)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Parameter
Name Description
builderForValue ValuedResource.Builder
Returns
Type Description
ListValuedResourcesResponse.Builder

addValuedResources(int index, ValuedResource value)

public ListValuedResourcesResponse.Builder addValuedResources(int index, ValuedResource value)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Parameters
Name Description
index int
value ValuedResource
Returns
Type Description
ListValuedResourcesResponse.Builder

addValuedResources(int index, ValuedResource.Builder builderForValue)

public ListValuedResourcesResponse.Builder addValuedResources(int index, ValuedResource.Builder builderForValue)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Parameters
Name Description
index int
builderForValue ValuedResource.Builder
Returns
Type Description
ListValuedResourcesResponse.Builder

addValuedResourcesBuilder()

public ValuedResource.Builder addValuedResourcesBuilder()

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Returns
Type Description
ValuedResource.Builder

addValuedResourcesBuilder(int index)

public ValuedResource.Builder addValuedResourcesBuilder(int index)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
ValuedResource.Builder

build()

public ListValuedResourcesResponse build()
Returns
Type Description
ListValuedResourcesResponse

buildPartial()

public ListValuedResourcesResponse buildPartial()
Returns
Type Description
ListValuedResourcesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListValuedResourcesResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Returns
Type Description
ListValuedResourcesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTotalSize()

public ListValuedResourcesResponse.Builder clearTotalSize()

The estimated total number of results matching the query.

int32 total_size = 3;

Returns
Type Description
ListValuedResourcesResponse.Builder

This builder for chaining.

clearValuedResources()

public ListValuedResourcesResponse.Builder clearValuedResources()

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Returns
Type Description
ListValuedResourcesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListValuedResourcesResponse getDefaultInstanceForType()
Returns
Type Description
ListValuedResourcesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

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 = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getTotalSize()

public int getTotalSize()

The estimated total number of results matching the query.

int32 total_size = 3;

Returns
Type Description
int

The totalSize.

getValuedResources(int index)

public ValuedResource getValuedResources(int index)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
ValuedResource

getValuedResourcesBuilder(int index)

public ValuedResource.Builder getValuedResourcesBuilder(int index)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
ValuedResource.Builder

getValuedResourcesBuilderList()

public List<ValuedResource.Builder> getValuedResourcesBuilderList()

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Returns
Type Description
List<Builder>

getValuedResourcesCount()

public int getValuedResourcesCount()

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Returns
Type Description
int

getValuedResourcesList()

public List<ValuedResource> getValuedResourcesList()

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Returns
Type Description
List<ValuedResource>

getValuedResourcesOrBuilder(int index)

public ValuedResourceOrBuilder getValuedResourcesOrBuilder(int index)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
ValuedResourceOrBuilder

getValuedResourcesOrBuilderList()

public List<? extends ValuedResourceOrBuilder> getValuedResourcesOrBuilderList()

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v1.ValuedResourceOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListValuedResourcesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeValuedResources(int index)

public ListValuedResourcesResponse.Builder removeValuedResources(int index)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
ListValuedResourcesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListValuedResourcesResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListValuedResourcesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListValuedResourcesResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListValuedResourcesResponse.Builder

This builder for chaining.

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

public ListValuedResourcesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListValuedResourcesResponse.Builder
Overrides

setTotalSize(int value)

public ListValuedResourcesResponse.Builder setTotalSize(int value)

The estimated total number of results matching the query.

int32 total_size = 3;

Parameter
Name Description
value int

The totalSize to set.

Returns
Type Description
ListValuedResourcesResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setValuedResources(int index, ValuedResource value)

public ListValuedResourcesResponse.Builder setValuedResources(int index, ValuedResource value)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Parameters
Name Description
index int
value ValuedResource
Returns
Type Description
ListValuedResourcesResponse.Builder

setValuedResources(int index, ValuedResource.Builder builderForValue)

public ListValuedResourcesResponse.Builder setValuedResources(int index, ValuedResource.Builder builderForValue)

The valued resources that the attack path simulation identified.

repeated .google.cloud.securitycenter.v1.ValuedResource valued_resources = 1;

Parameters
Name Description
index int
builderForValue ValuedResource.Builder
Returns
Type Description
ListValuedResourcesResponse.Builder