Class ListDiscoveryConfigsResponse.Builder (3.50.0)

public static final class ListDiscoveryConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListDiscoveryConfigsResponse.Builder> implements ListDiscoveryConfigsResponseOrBuilder

Response message for ListDiscoveryConfigs.

Protobuf type google.privacy.dlp.v2.ListDiscoveryConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllDiscoveryConfigs(Iterable<? extends DiscoveryConfig> values)

public ListDiscoveryConfigsResponse.Builder addAllDiscoveryConfigs(Iterable<? extends DiscoveryConfig> values)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.DiscoveryConfig>
Returns
Type Description
ListDiscoveryConfigsResponse.Builder

addDiscoveryConfigs(DiscoveryConfig value)

public ListDiscoveryConfigsResponse.Builder addDiscoveryConfigs(DiscoveryConfig value)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameter
Name Description
value DiscoveryConfig
Returns
Type Description
ListDiscoveryConfigsResponse.Builder

addDiscoveryConfigs(DiscoveryConfig.Builder builderForValue)

public ListDiscoveryConfigsResponse.Builder addDiscoveryConfigs(DiscoveryConfig.Builder builderForValue)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameter
Name Description
builderForValue DiscoveryConfig.Builder
Returns
Type Description
ListDiscoveryConfigsResponse.Builder

addDiscoveryConfigs(int index, DiscoveryConfig value)

public ListDiscoveryConfigsResponse.Builder addDiscoveryConfigs(int index, DiscoveryConfig value)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameters
Name Description
index int
value DiscoveryConfig
Returns
Type Description
ListDiscoveryConfigsResponse.Builder

addDiscoveryConfigs(int index, DiscoveryConfig.Builder builderForValue)

public ListDiscoveryConfigsResponse.Builder addDiscoveryConfigs(int index, DiscoveryConfig.Builder builderForValue)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameters
Name Description
index int
builderForValue DiscoveryConfig.Builder
Returns
Type Description
ListDiscoveryConfigsResponse.Builder

addDiscoveryConfigsBuilder()

public DiscoveryConfig.Builder addDiscoveryConfigsBuilder()

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Returns
Type Description
DiscoveryConfig.Builder

addDiscoveryConfigsBuilder(int index)

public DiscoveryConfig.Builder addDiscoveryConfigsBuilder(int index)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
DiscoveryConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDiscoveryConfigsResponse build()
Returns
Type Description
ListDiscoveryConfigsResponse

buildPartial()

public ListDiscoveryConfigsResponse buildPartial()
Returns
Type Description
ListDiscoveryConfigsResponse

clear()

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

clearDiscoveryConfigs()

public ListDiscoveryConfigsResponse.Builder clearDiscoveryConfigs()

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Returns
Type Description
ListDiscoveryConfigsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDiscoveryConfigsResponse.Builder clearNextPageToken()

If the next page is available then this value is the next page token to be used in the following ListDiscoveryConfigs request.

string next_page_token = 2;

Returns
Type Description
ListDiscoveryConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListDiscoveryConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListDiscoveryConfigsResponse

getDescriptorForType()

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

getDiscoveryConfigs(int index)

public DiscoveryConfig getDiscoveryConfigs(int index)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
DiscoveryConfig

getDiscoveryConfigsBuilder(int index)

public DiscoveryConfig.Builder getDiscoveryConfigsBuilder(int index)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
DiscoveryConfig.Builder

getDiscoveryConfigsBuilderList()

public List<DiscoveryConfig.Builder> getDiscoveryConfigsBuilderList()

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Returns
Type Description
List<Builder>

getDiscoveryConfigsCount()

public int getDiscoveryConfigsCount()

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Returns
Type Description
int

getDiscoveryConfigsList()

public List<DiscoveryConfig> getDiscoveryConfigsList()

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Returns
Type Description
List<DiscoveryConfig>

getDiscoveryConfigsOrBuilder(int index)

public DiscoveryConfigOrBuilder getDiscoveryConfigsOrBuilder(int index)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
DiscoveryConfigOrBuilder

getDiscoveryConfigsOrBuilderList()

public List<? extends DiscoveryConfigOrBuilder> getDiscoveryConfigsOrBuilderList()

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.DiscoveryConfigOrBuilder>

getNextPageToken()

public String getNextPageToken()

If the next page is available then this value is the next page token to be used in the following ListDiscoveryConfigs request.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If the next page is available then this value is the next page token to be used in the following ListDiscoveryConfigs request.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDiscoveryConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDiscoveryConfigs(int index)

public ListDiscoveryConfigsResponse.Builder removeDiscoveryConfigs(int index)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDiscoveryConfigsResponse.Builder

setDiscoveryConfigs(int index, DiscoveryConfig value)

public ListDiscoveryConfigsResponse.Builder setDiscoveryConfigs(int index, DiscoveryConfig value)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameters
Name Description
index int
value DiscoveryConfig
Returns
Type Description
ListDiscoveryConfigsResponse.Builder

setDiscoveryConfigs(int index, DiscoveryConfig.Builder builderForValue)

public ListDiscoveryConfigsResponse.Builder setDiscoveryConfigs(int index, DiscoveryConfig.Builder builderForValue)

List of configs, up to page_size in ListDiscoveryConfigsRequest.

repeated .google.privacy.dlp.v2.DiscoveryConfig discovery_configs = 1;

Parameters
Name Description
index int
builderForValue DiscoveryConfig.Builder
Returns
Type Description
ListDiscoveryConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDiscoveryConfigsResponse.Builder setNextPageToken(String value)

If the next page is available then this value is the next page token to be used in the following ListDiscoveryConfigs request.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDiscoveryConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDiscoveryConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

If the next page is available then this value is the next page token to be used in the following ListDiscoveryConfigs request.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDiscoveryConfigsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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