Class ListDeidentifyTemplatesResponse.Builder (3.58.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 addDeidentifyTemplates(int index, DeidentifyTemplate.Builder builderForValue)

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

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

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

addDeidentifyTemplatesBuilder()

public DeidentifyTemplate.Builder addDeidentifyTemplatesBuilder()

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

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

Returns
Type Description
DeidentifyTemplate.Builder

addDeidentifyTemplatesBuilder(int index)

public DeidentifyTemplate.Builder addDeidentifyTemplatesBuilder(int index)

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

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

Parameter
Name Description
index int
Returns
Type Description
DeidentifyTemplate.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDeidentifyTemplatesResponse build()
Returns
Type Description
ListDeidentifyTemplatesResponse

buildPartial()

public ListDeidentifyTemplatesResponse buildPartial()
Returns
Type Description
ListDeidentifyTemplatesResponse

clear()

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

clearDeidentifyTemplates()

public ListDeidentifyTemplatesResponse.Builder clearDeidentifyTemplates()

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

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

Returns
Type Description
ListDeidentifyTemplatesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDeidentifyTemplatesResponse.Builder clearNextPageToken()

If the next page is available then the next page token to be used in the following ListDeidentifyTemplates request.

string next_page_token = 2;

Returns
Type Description
ListDeidentifyTemplatesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListDeidentifyTemplatesResponse getDefaultInstanceForType()
Returns
Type Description
ListDeidentifyTemplatesResponse

getDeidentifyTemplates(int index)

public DeidentifyTemplate getDeidentifyTemplates(int index)

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

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

Parameter
Name Description
index int
Returns
Type Description
DeidentifyTemplate

getDeidentifyTemplatesBuilder(int index)

public DeidentifyTemplate.Builder getDeidentifyTemplatesBuilder(int index)

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

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

Parameter
Name Description
index int
Returns
Type Description
DeidentifyTemplate.Builder

getDeidentifyTemplatesBuilderList()

public List<DeidentifyTemplate.Builder> getDeidentifyTemplatesBuilderList()

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

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

Returns
Type Description
List<Builder>

getDeidentifyTemplatesCount()

public int getDeidentifyTemplatesCount()

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

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

Returns
Type Description
int

getDeidentifyTemplatesList()

public List<DeidentifyTemplate> getDeidentifyTemplatesList()

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

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

Returns
Type Description
List<DeidentifyTemplate>

getDeidentifyTemplatesOrBuilder(int index)

public DeidentifyTemplateOrBuilder getDeidentifyTemplatesOrBuilder(int index)

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

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

Parameter
Name Description
index int
Returns
Type Description
DeidentifyTemplateOrBuilder

getDeidentifyTemplatesOrBuilderList()

public List<? extends DeidentifyTemplateOrBuilder> getDeidentifyTemplatesOrBuilderList()

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

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

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

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

If the next page is available then the next page token to be used in the following ListDeidentifyTemplates request.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If the next page is available then the next page token to be used in the following ListDeidentifyTemplates 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(ListDeidentifyTemplatesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDeidentifyTemplates(int index)

public ListDeidentifyTemplatesResponse.Builder removeDeidentifyTemplates(int index)

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

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

Parameter
Name Description
index int
Returns
Type Description
ListDeidentifyTemplatesResponse.Builder

setDeidentifyTemplates(int index, DeidentifyTemplate value)

public ListDeidentifyTemplatesResponse.Builder setDeidentifyTemplates(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

setDeidentifyTemplates(int index, DeidentifyTemplate.Builder builderForValue)

public ListDeidentifyTemplatesResponse.Builder setDeidentifyTemplates(int index, DeidentifyTemplate.Builder builderForValue)

List of deidentify templates, up to page_size in ListDeidentifyTemplatesRequest.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDeidentifyTemplatesResponse.Builder setNextPageToken(String value)

If the next page is available then the next page token to be used in the following ListDeidentifyTemplates request.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDeidentifyTemplatesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDeidentifyTemplatesResponse.Builder setNextPageTokenBytes(ByteString value)

If the next page is available then the next page token to be used in the following ListDeidentifyTemplates request.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDeidentifyTemplatesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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