Class ListDeidentifyTemplatesResponse.Builder (3.50.0)

public static final class ListDeidentifyTemplatesResponse.Builder extends GeneratedMessageV3.Builder<ListDeidentifyTemplatesResponse.Builder> implements ListDeidentifyTemplatesResponseOrBuilder

Response message for ListDeidentifyTemplates.

Protobuf type google.privacy.dlp.v2.ListDeidentifyTemplatesResponse

Static Methods

getDescriptor()

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

Methods

addAllDeidentifyTemplates(Iterable<? extends DeidentifyTemplate> values)

public ListDeidentifyTemplatesResponse.Builder addAllDeidentifyTemplates(Iterable<? extends DeidentifyTemplate> values)

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;

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

addDeidentifyTemplates(DeidentifyTemplate value)

public ListDeidentifyTemplatesResponse.Builder addDeidentifyTemplates(DeidentifyTemplate value)

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;

Parameter
Name Description
value DeidentifyTemplate
Returns
Type Description
ListDeidentifyTemplatesResponse.Builder

addDeidentifyTemplates(DeidentifyTemplate.Builder builderForValue)

public ListDeidentifyTemplatesResponse.Builder addDeidentifyTemplates(DeidentifyTemplate.Builder builderForValue)

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;

Parameter
Name Description
builderForValue DeidentifyTemplate.Builder
Returns
Type Description
ListDeidentifyTemplatesResponse.Builder

addDeidentifyTemplates(int index, DeidentifyTemplate value)

public ListDeidentifyTemplatesResponse.Builder addDeidentifyTemplates(int index, DeidentifyTemplate value)

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

repeated .google.privacy.dlp.v2.DeidentifyTemplate deidentify_templates = 1;

Parameters
Name Description
index int
value DeidentifyTemplate
Returns
Type Description
ListDeidentifyTemplatesResponse.Builder

addDeidentifyTemplates(int index, DeidentifyTemplate.Builder builderForValue)

public ListDeidentifyTemplatesResponse.Builder