Class ListInspectTemplatesResponse.Builder (3.53.0)

public static final class ListInspectTemplatesResponse.Builder extends GeneratedMessageV3.Builder<ListInspectTemplatesResponse.Builder> implements ListInspectTemplatesResponseOrBuilder

Response message for ListInspectTemplates.

Protobuf type google.privacy.dlp.v2.ListInspectTemplatesResponse

Static Methods

getDescriptor()

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

Methods

addAllInspectTemplates(Iterable<? extends InspectTemplate> values)

public ListInspectTemplatesResponse.Builder addAllInspectTemplates(Iterable<? extends InspectTemplate> values)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

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

addInspectTemplates(InspectTemplate value)

public ListInspectTemplatesResponse.Builder addInspectTemplates(InspectTemplate value)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Parameter
Name Description
value InspectTemplate
Returns
Type Description
ListInspectTemplatesResponse.Builder

addInspectTemplates(InspectTemplate.Builder builderForValue)

public ListInspectTemplatesResponse.Builder addInspectTemplates(InspectTemplate.Builder builderForValue)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Parameter
Name Description
builderForValue InspectTemplate.Builder
Returns
Type Description
ListInspectTemplatesResponse.Builder

addInspectTemplates(int index, InspectTemplate value)

public ListInspectTemplatesResponse.Builder addInspectTemplates(int index, InspectTemplate value)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Parameters
Name Description
index int
value InspectTemplate
Returns
Type Description
ListInspectTemplatesResponse.Builder

addInspectTemplates(int index, InspectTemplate.Builder builderForValue)

public ListInspectTemplatesResponse.Builder addInspectTemplates(int index, InspectTemplate.Builder builderForValue)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Parameters
Name Description
index int
builderForValue InspectTemplate.Builder
Returns
Type Description
ListInspectTemplatesResponse.Builder

addInspectTemplatesBuilder()

public InspectTemplate.Builder addInspectTemplatesBuilder()

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Returns
Type Description
InspectTemplate.Builder

addInspectTemplatesBuilder(int index)

public InspectTemplate.Builder addInspectTemplatesBuilder(int index)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
InspectTemplate.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListInspectTemplatesResponse build()
Returns
Type Description
ListInspectTemplatesResponse

buildPartial()

public ListInspectTemplatesResponse buildPartial()
Returns
Type Description
ListInspectTemplatesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInspectTemplates()

public ListInspectTemplatesResponse.Builder clearInspectTemplates()

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Returns
Type Description
ListInspectTemplatesResponse.Builder

clearNextPageToken()

public ListInspectTemplatesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListInspectTemplatesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListInspectTemplatesResponse getDefaultInstanceForType()
Returns
Type Description
ListInspectTemplatesResponse

getDescriptorForType()

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

getInspectTemplates(int index)

public InspectTemplate getInspectTemplates(int index)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
InspectTemplate

getInspectTemplatesBuilder(int index)

public InspectTemplate.Builder getInspectTemplatesBuilder(int index)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
InspectTemplate.Builder

getInspectTemplatesBuilderList()

public List<InspectTemplate.Builder> getInspectTemplatesBuilderList()

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Returns
Type Description
List<Builder>

getInspectTemplatesCount()

public int getInspectTemplatesCount()

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Returns
Type Description
int

getInspectTemplatesList()

public List<InspectTemplate> getInspectTemplatesList()

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Returns
Type Description
List<InspectTemplate>

getInspectTemplatesOrBuilder(int index)

public InspectTemplateOrBuilder getInspectTemplatesOrBuilder(int index)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
InspectTemplateOrBuilder

getInspectTemplatesOrBuilderList()

public List<? extends InspectTemplateOrBuilder> getInspectTemplatesOrBuilderList()

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

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

getNextPageToken()

public String getNextPageToken()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInspectTemplates(int index)

public ListInspectTemplatesResponse.Builder removeInspectTemplates(int index)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Parameter
Name Description
index int
Returns
Type Description
ListInspectTemplatesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInspectTemplates(int index, InspectTemplate value)

public ListInspectTemplatesResponse.Builder setInspectTemplates(int index, InspectTemplate value)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Parameters
Name Description
index int
value InspectTemplate
Returns
Type Description
ListInspectTemplatesResponse.Builder

setInspectTemplates(int index, InspectTemplate.Builder builderForValue)

public ListInspectTemplatesResponse.Builder setInspectTemplates(int index, InspectTemplate.Builder builderForValue)

List of inspectTemplates, up to page_size in ListInspectTemplatesRequest.

repeated .google.privacy.dlp.v2.InspectTemplate inspect_templates = 1;

Parameters
Name Description
index int
builderForValue InspectTemplate.Builder
Returns
Type Description
ListInspectTemplatesResponse.Builder

setNextPageToken(String value)

public ListInspectTemplatesResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListInspectTemplatesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListInspectTemplatesResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListInspectTemplatesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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