Class ListInfoTypesResponse.Builder (3.48.0)

public static final class ListInfoTypesResponse.Builder extends GeneratedMessageV3.Builder<ListInfoTypesResponse.Builder> implements ListInfoTypesResponseOrBuilder

Response to the ListInfoTypes request.

Protobuf type google.privacy.dlp.v2.ListInfoTypesResponse

Static Methods

getDescriptor()

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

Methods

addAllInfoTypes(Iterable<? extends InfoTypeDescription> values)

public ListInfoTypesResponse.Builder addAllInfoTypes(Iterable<? extends InfoTypeDescription> values)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

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

addInfoTypes(InfoTypeDescription value)

public ListInfoTypesResponse.Builder addInfoTypes(InfoTypeDescription value)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Parameter
Name Description
value InfoTypeDescription
Returns
Type Description
ListInfoTypesResponse.Builder

addInfoTypes(InfoTypeDescription.Builder builderForValue)

public ListInfoTypesResponse.Builder addInfoTypes(InfoTypeDescription.Builder builderForValue)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Parameter
Name Description
builderForValue InfoTypeDescription.Builder
Returns
Type Description
ListInfoTypesResponse.Builder

addInfoTypes(int index, InfoTypeDescription value)

public ListInfoTypesResponse.Builder addInfoTypes(int index, InfoTypeDescription value)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Parameters
Name Description
index int
value InfoTypeDescription
Returns
Type Description
ListInfoTypesResponse.Builder

addInfoTypes(int index, InfoTypeDescription.Builder builderForValue)

public ListInfoTypesResponse.Builder addInfoTypes(int index, InfoTypeDescription.Builder builderForValue)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Parameters
Name Description
index int
builderForValue InfoTypeDescription.Builder
Returns
Type Description
ListInfoTypesResponse.Builder

addInfoTypesBuilder()

public InfoTypeDescription.Builder addInfoTypesBuilder()

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Returns
Type Description
InfoTypeDescription.Builder

addInfoTypesBuilder(int index)

public InfoTypeDescription.Builder addInfoTypesBuilder(int index)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeDescription.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListInfoTypesResponse build()
Returns
Type Description
ListInfoTypesResponse

buildPartial()

public ListInfoTypesResponse buildPartial()
Returns
Type Description
ListInfoTypesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInfoTypes()

public ListInfoTypesResponse.Builder clearInfoTypes()

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Returns
Type Description
ListInfoTypesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListInfoTypesResponse getDefaultInstanceForType()
Returns
Type Description
ListInfoTypesResponse

getDescriptorForType()

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

getInfoTypes(int index)

public InfoTypeDescription getInfoTypes(int index)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeDescription

getInfoTypesBuilder(int index)

public InfoTypeDescription.Builder getInfoTypesBuilder(int index)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeDescription.Builder

getInfoTypesBuilderList()

public List<InfoTypeDescription.Builder> getInfoTypesBuilderList()

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Returns
Type Description
List<Builder>

getInfoTypesCount()

public int getInfoTypesCount()

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Returns
Type Description
int

getInfoTypesList()

public List<InfoTypeDescription> getInfoTypesList()

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Returns
Type Description
List<InfoTypeDescription>

getInfoTypesOrBuilder(int index)

public InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder(int index)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Parameter
Name Description
index int
Returns
Type Description
InfoTypeDescriptionOrBuilder

getInfoTypesOrBuilderList()

public List<? extends InfoTypeDescriptionOrBuilder> getInfoTypesOrBuilderList()

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListInfoTypesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInfoTypes(int index)

public ListInfoTypesResponse.Builder removeInfoTypes(int index)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Parameter
Name Description
index int
Returns
Type Description
ListInfoTypesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInfoTypes(int index, InfoTypeDescription value)

public ListInfoTypesResponse.Builder setInfoTypes(int index, InfoTypeDescription value)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Parameters
Name Description
index int
value InfoTypeDescription
Returns
Type Description
ListInfoTypesResponse.Builder

setInfoTypes(int index, InfoTypeDescription.Builder builderForValue)

public ListInfoTypesResponse.Builder setInfoTypes(int index, InfoTypeDescription.Builder builderForValue)

Set of sensitive infoTypes.

repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;

Parameters
Name Description
index int
builderForValue InfoTypeDescription.Builder
Returns
Type Description
ListInfoTypesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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