Class ListInfoTypesResponse.Builder (3.34.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.InfoTypeDescription>
Returns
TypeDescription
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
NameDescription
valueInfoTypeDescription
Returns
TypeDescription
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
NameDescription
builderForValueInfoTypeDescription.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInfoTypeDescription
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInfoTypeDescription.Builder
Returns
TypeDescription
ListInfoTypesResponse.Builder

addInfoTypesBuilder()

public InfoTypeDescription.Builder addInfoTypesBuilder()

Set of sensitive infoTypes.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InfoTypeDescription.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListInfoTypesResponse build()
Returns
TypeDescription
ListInfoTypesResponse

buildPartial()

public ListInfoTypesResponse buildPartial()
Returns
TypeDescription
ListInfoTypesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInfoTypes()

public ListInfoTypesResponse.Builder clearInfoTypes()

Set of sensitive infoTypes.

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

Returns
TypeDescription
ListInfoTypesResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListInfoTypesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListInfoTypesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInfoTypes(int index)

public InfoTypeDescription getInfoTypes(int index)

Set of sensitive infoTypes.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
InfoTypeDescription

getInfoTypesBuilder(int index)

public InfoTypeDescription.Builder getInfoTypesBuilder(int index)

Set of sensitive infoTypes.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
InfoTypeDescription.Builder

getInfoTypesBuilderList()

public List<InfoTypeDescription.Builder> getInfoTypesBuilderList()

Set of sensitive infoTypes.

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

Returns
TypeDescription
List<Builder>

getInfoTypesCount()

public int getInfoTypesCount()

Set of sensitive infoTypes.

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

Returns
TypeDescription
int

getInfoTypesList()

public List<InfoTypeDescription> getInfoTypesList()

Set of sensitive infoTypes.

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

Returns
TypeDescription
List<InfoTypeDescription>

getInfoTypesOrBuilder(int index)

public InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder(int index)

Set of sensitive infoTypes.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
InfoTypeDescriptionOrBuilder

getInfoTypesOrBuilderList()

public List<? extends InfoTypeDescriptionOrBuilder> getInfoTypesOrBuilderList()

Set of sensitive infoTypes.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListInfoTypesResponse other)

public ListInfoTypesResponse.Builder mergeFrom(ListInfoTypesResponse other)
Parameter
NameDescription
otherListInfoTypesResponse
Returns
TypeDescription
ListInfoTypesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListInfoTypesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueInfoTypeDescription
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInfoTypeDescription.Builder
Returns
TypeDescription
ListInfoTypesResponse.Builder

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

public ListInfoTypesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListInfoTypesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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