Class ListDiscoveryConfigsResponse.Builder (3.38.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.DiscoveryConfig>
Returns
TypeDescription
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
NameDescription
valueDiscoveryConfig
Returns
TypeDescription
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
NameDescription
builderForValueDiscoveryConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDiscoveryConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDiscoveryConfig.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DiscoveryConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDiscoveryConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListDiscoveryConfigsResponse.Builder
Overrides

build()

public ListDiscoveryConfigsResponse build()
Returns
TypeDescription
ListDiscoveryConfigsResponse

buildPartial()

public ListDiscoveryConfigsResponse buildPartial()
Returns
TypeDescription
ListDiscoveryConfigsResponse

clear()

public ListDiscoveryConfigsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListDiscoveryConfigsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListDiscoveryConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDiscoveryConfigsResponse

getDescriptorForType()

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

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDiscoveryConfigsResponse other)

public ListDiscoveryConfigsResponse.Builder mergeFrom(ListDiscoveryConfigsResponse other)
Parameter
NameDescription
otherListDiscoveryConfigsResponse
Returns
TypeDescription
ListDiscoveryConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDiscoveryConfigsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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