Class ListValuedResourcesResponse.Builder (2.45.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.v2.ListValuedResourcesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v2.ValuedResource valued_resources = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v2.ValuedResource>
Returns
TypeDescription
ListValuedResourcesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListValuedResourcesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v2.ValuedResource valued_resources = 1;

Parameter
NameDescription
valueValuedResource
Returns
TypeDescription
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.v2.ValuedResource valued_resources = 1;

Parameter
NameDescription
builderForValueValuedResource.Builder
Returns
TypeDescription
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.v2.ValuedResource valued_resources = 1;

Parameters
NameDescription
indexint
valueValuedResource
Returns
TypeDescription
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.v2.ValuedResource valued_resources = 1;

Parameters
NameDescription
indexint
builderForValueValuedResource.Builder
Returns
TypeDescription
ListValuedResourcesResponse.Builder

addValuedResourcesBuilder()

public ValuedResource.Builder addValuedResourcesBuilder()

The valued resources that the attack path simulation identified.

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

Returns
TypeDescription
ValuedResource.Builder

addValuedResourcesBuilder(int index)

public ValuedResource.Builder addValuedResourcesBuilder(int index)

The valued resources that the attack path simulation identified.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ValuedResource.Builder

build()

public ListValuedResourcesResponse build()
Returns
TypeDescription
ListValuedResourcesResponse

buildPartial()

public ListValuedResourcesResponse buildPartial()
Returns
TypeDescription
ListValuedResourcesResponse

clear()

public ListValuedResourcesResponse.Builder clear()
Returns
TypeDescription
ListValuedResourcesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListValuedResourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListValuedResourcesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListValuedResourcesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListValuedResourcesResponse.Builder
Overrides

clearTotalSize()

public ListValuedResourcesResponse.Builder clearTotalSize()

The estimated total number of results matching the query.

int32 total_size = 3;

Returns
TypeDescription
ListValuedResourcesResponse.Builder

This builder for chaining.

clearValuedResources()

public ListValuedResourcesResponse.Builder clearValuedResources()

The valued resources that the attack path simulation identified.

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

Returns
TypeDescription
ListValuedResourcesResponse.Builder

clone()

public ListValuedResourcesResponse.Builder clone()
Returns
TypeDescription
ListValuedResourcesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListValuedResourcesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListValuedResourcesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getTotalSize()

public int getTotalSize()

The estimated total number of results matching the query.

int32 total_size = 3;

Returns
TypeDescription
int

The totalSize.

getValuedResources(int index)

public ValuedResource getValuedResources(int index)

The valued resources that the attack path simulation identified.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ValuedResource

getValuedResourcesBuilder(int index)

public ValuedResource.Builder getValuedResourcesBuilder(int index)

The valued resources that the attack path simulation identified.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ValuedResource.Builder

getValuedResourcesBuilderList()

public List<ValuedResource.Builder> getValuedResourcesBuilderList()

The valued resources that the attack path simulation identified.

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

Returns
TypeDescription
List<Builder>

getValuedResourcesCount()

public int getValuedResourcesCount()

The valued resources that the attack path simulation identified.

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

Returns
TypeDescription
int

getValuedResourcesList()

public List<ValuedResource> getValuedResourcesList()

The valued resources that the attack path simulation identified.

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

Returns
TypeDescription
List<ValuedResource>

getValuedResourcesOrBuilder(int index)

public ValuedResourceOrBuilder getValuedResourcesOrBuilder(int index)

The valued resources that the attack path simulation identified.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ValuedResourceOrBuilder

getValuedResourcesOrBuilderList()

public List<? extends ValuedResourceOrBuilder> getValuedResourcesOrBuilderList()

The valued resources that the attack path simulation identified.

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

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.ValuedResourceOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListValuedResourcesResponse other)

public ListValuedResourcesResponse.Builder mergeFrom(ListValuedResourcesResponse other)
Parameter
NameDescription
otherListValuedResourcesResponse
Returns
TypeDescription
ListValuedResourcesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListValuedResourcesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListValuedResourcesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListValuedResourcesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListValuedResourcesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListValuedResourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v2.ValuedResource valued_resources = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListValuedResourcesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListValuedResourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The totalSize to set.

Returns
TypeDescription
ListValuedResourcesResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ListValuedResourcesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v2.ValuedResource valued_resources = 1;

Parameters
NameDescription
indexint
valueValuedResource
Returns
TypeDescription
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.v2.ValuedResource valued_resources = 1;

Parameters
NameDescription
indexint
builderForValueValuedResource.Builder
Returns
TypeDescription
ListValuedResourcesResponse.Builder