Class ListResourceValueConfigsResponse.Builder (2.49.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v2.ResourceValueConfig>
Returns
TypeDescription
ListResourceValueConfigsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListResourceValueConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueResourceValueConfig
Returns
TypeDescription
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
NameDescription
builderForValueResourceValueConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueResourceValueConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueResourceValueConfig.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ResourceValueConfig.Builder

build()

public ListResourceValueConfigsResponse build()
Returns
TypeDescription
ListResourceValueConfigsResponse

buildPartial()

public ListResourceValueConfigsResponse buildPartial()
Returns
TypeDescription
ListResourceValueConfigsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListResourceValueConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListResourceValueConfigsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListResourceValueConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListResourceValueConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.ResourceValueConfigOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListResourceValueConfigsResponse other)

public ListResourceValueConfigsResponse.Builder mergeFrom(ListResourceValueConfigsResponse other)
Parameter
NameDescription
otherListResourceValueConfigsResponse
Returns
TypeDescription
ListResourceValueConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListResourceValueConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListResourceValueConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueResourceValueConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueResourceValueConfig.Builder
Returns
TypeDescription
ListResourceValueConfigsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListResourceValueConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListResourceValueConfigsResponse.Builder
Overrides