Class ListResourceValueConfigsResponse.Builder (2.57.0)

public static final class ListResourceValueConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListResourceValueConfigsResponse.Builder> implements ListResourceValueConfigsResponseOrBuilder

Response message to list resource value configs

Protobuf type google.cloud.securitycenter.v2.ListResourceValueConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllResourceValueConfigs(Iterable<? extends ResourceValueConfig> values)

public ListResourceValueConfigsResponse.Builder addAllResourceValueConfigs(Iterable<? extends ResourceValueConfig> values)

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v2.ResourceValueConfig>
Returns
Type Description
ListResourceValueConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResourceValueConfigs(ResourceValueConfig value)

public ListResourceValueConfigsResponse.Builder addResourceValueConfigs(ResourceValueConfig value)

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Parameter
Name Description
value ResourceValueConfig
Returns
Type Description
ListResourceValueConfigsResponse.Builder

addResourceValueConfigs(ResourceValueConfig.Builder builderForValue)

public ListResourceValueConfigsResponse.Builder addResourceValueConfigs(ResourceValueConfig.Builder builderForValue)

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Parameter
Name Description
builderForValue ResourceValueConfig.Builder
Returns
Type Description
ListResourceValueConfigsResponse.Builder

addResourceValueConfigs(int index, ResourceValueConfig value)

public ListResourceValueConfigsResponse.Builder addResourceValueConfigs(int index, ResourceValueConfig value)

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Parameters
Name Description
index int
value ResourceValueConfig
Returns
Type Description
ListResourceValueConfigsResponse.Builder

addResourceValueConfigs(int index, ResourceValueConfig.Builder builderForValue)

public ListResourceValueConfigsResponse.Builder addResourceValueConfigs(int index, ResourceValueConfig.Builder builderForValue)

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Parameters
Name Description
index int
builderForValue ResourceValueConfig.Builder
Returns
Type Description
ListResourceValueConfigsResponse.Builder

addResourceValueConfigsBuilder()

public ResourceValueConfig.Builder addResourceValueConfigsBuilder()

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Returns
Type Description
ResourceValueConfig.Builder

addResourceValueConfigsBuilder(int index)

public ResourceValueConfig.Builder addResourceValueConfigsBuilder(int index)

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ResourceValueConfig.Builder

build()

public ListResourceValueConfigsResponse build()
Returns
Type Description
ListResourceValueConfigsResponse

buildPartial()

public ListResourceValueConfigsResponse buildPartial()
Returns
Type Description
ListResourceValueConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListResourceValueConfigsResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is empty, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListResourceValueConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResourceValueConfigs()

public ListResourceValueConfigsResponse.Builder clearResourceValueConfigs()

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Returns
Type Description
ListResourceValueConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListResourceValueConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListResourceValueConfigsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is empty, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is empty, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getResourceValueConfigs(int index)

public ResourceValueConfig getResourceValueConfigs(int index)

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ResourceValueConfig

getResourceValueConfigsBuilder(int index)

public ResourceValueConfig.Builder getResourceValueConfigsBuilder(int index)

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ResourceValueConfig.Builder

getResourceValueConfigsBuilderList()

public List<ResourceValueConfig.Builder> getResourceValueConfigsBuilderList()

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Returns
Type Description
List<Builder>

getResourceValueConfigsCount()

public int getResourceValueConfigsCount()

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Returns
Type Description
int

getResourceValueConfigsList()

public List<ResourceValueConfig> getResourceValueConfigsList()

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Returns
Type Description
List<ResourceValueConfig>

getResourceValueConfigsOrBuilder(int index)

public ResourceValueConfigOrBuilder getResourceValueConfigsOrBuilder(int index)

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ResourceValueConfigOrBuilder

getResourceValueConfigsOrBuilderList()

public List<? extends ResourceValueConfigOrBuilder> getResourceValueConfigsOrBuilderList()

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v2.ResourceValueConfigOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListResourceValueConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeResourceValueConfigs(int index)

public ListResourceValueConfigsResponse.Builder removeResourceValueConfigs(int index)

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListResourceValueConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListResourceValueConfigsResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is empty, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListResourceValueConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListResourceValueConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is empty, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListResourceValueConfigsResponse.Builder

This builder for chaining.

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

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

setResourceValueConfigs(int index, ResourceValueConfig value)

public ListResourceValueConfigsResponse.Builder setResourceValueConfigs(int index, ResourceValueConfig value)

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Parameters
Name Description
index int
value ResourceValueConfig
Returns
Type Description
ListResourceValueConfigsResponse.Builder

setResourceValueConfigs(int index, ResourceValueConfig.Builder builderForValue)

public ListResourceValueConfigsResponse.Builder setResourceValueConfigs(int index, ResourceValueConfig.Builder builderForValue)

The resource value configs from the specified parent.

repeated .google.cloud.securitycenter.v2.ResourceValueConfig resource_value_configs = 1;

Parameters
Name Description
index int
builderForValue ResourceValueConfig.Builder
Returns
Type Description
ListResourceValueConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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