Class ListInspectTemplatesResponse.Builder (3.9.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.InspectTemplate>
Returns
TypeDescription
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
NameDescription
valueInspectTemplate
Returns
TypeDescription
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
NameDescription
builderForValueInspectTemplate.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInspectTemplate
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInspectTemplate.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InspectTemplate.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListInspectTemplatesResponse build()
Returns
TypeDescription
ListInspectTemplatesResponse

buildPartial()

public ListInspectTemplatesResponse buildPartial()
Returns
TypeDescription
ListInspectTemplatesResponse

clear()

public ListInspectTemplatesResponse.Builder clear()
Returns
TypeDescription
ListInspectTemplatesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListInspectTemplatesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListInspectTemplatesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListInspectTemplatesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListInspectTemplatesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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 following ListInspectTemplates 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 ListInspectTemplates 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(ListInspectTemplatesResponse other)

public ListInspectTemplatesResponse.Builder mergeFrom(ListInspectTemplatesResponse other)
Parameter
NameDescription
otherListInspectTemplatesResponse
Returns
TypeDescription
ListInspectTemplatesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

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

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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