Class ListDeidentifyTemplatesResponse.Builder (3.17.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.DeidentifyTemplate>
Returns
TypeDescription
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
NameDescription
valueDeidentifyTemplate
Returns
TypeDescription
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
NameDescription
builderForValueDeidentifyTemplate.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDeidentifyTemplate
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDeidentifyTemplate.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DeidentifyTemplate.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDeidentifyTemplatesResponse build()
Returns
TypeDescription
ListDeidentifyTemplatesResponse

buildPartial()

public ListDeidentifyTemplatesResponse buildPartial()
Returns
TypeDescription
ListDeidentifyTemplatesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListDeidentifyTemplatesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListDeidentifyTemplatesResponse.Builder
Overrides

clearNextPageToken()

public ListDeidentifyTemplatesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListDeidentifyTemplatesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListDeidentifyTemplatesResponse getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.privacy.dlp.v2.DeidentifyTemplateOrBuilder>

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

public ListDeidentifyTemplatesResponse.Builder mergeFrom(ListDeidentifyTemplatesResponse other)
Parameter
NameDescription
otherListDeidentifyTemplatesResponse
Returns
TypeDescription
ListDeidentifyTemplatesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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 following ListDeidentifyTemplates request.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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