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
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
addInfoTypes(InfoTypeDescription value)
public ListInfoTypesResponse.Builder addInfoTypes(InfoTypeDescription value)
Set of sensitive infoTypes.
repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
Parameter
Returns
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
Returns
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
Returns
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
Returns
addInfoTypesBuilder()
public InfoTypeDescription.Builder addInfoTypesBuilder()
Set of sensitive infoTypes.
repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
Returns
addInfoTypesBuilder(int index)
public InfoTypeDescription.Builder addInfoTypesBuilder(int index)
Set of sensitive infoTypes.
repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListInfoTypesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListInfoTypesResponse build()
Returns
buildPartial()
public ListInfoTypesResponse buildPartial()
Returns
clear()
public ListInfoTypesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListInfoTypesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInfoTypes()
public ListInfoTypesResponse.Builder clearInfoTypes()
Set of sensitive infoTypes.
repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListInfoTypesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListInfoTypesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListInfoTypesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInfoTypes(int index)
public InfoTypeDescription getInfoTypes(int index)
Set of sensitive infoTypes.
repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
Parameter
Returns
getInfoTypesBuilder(int index)
public InfoTypeDescription.Builder getInfoTypesBuilder(int index)
Set of sensitive infoTypes.
repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
Parameter
Returns
getInfoTypesBuilderList()
public List<InfoTypeDescription.Builder> getInfoTypesBuilderList()
Set of sensitive infoTypes.
repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
Returns
getInfoTypesCount()
public int getInfoTypesCount()
Set of sensitive infoTypes.
repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
Returns
getInfoTypesList()
public List<InfoTypeDescription> getInfoTypesList()
Set of sensitive infoTypes.
repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
Returns
getInfoTypesOrBuilder(int index)
public InfoTypeDescriptionOrBuilder getInfoTypesOrBuilder(int index)
Set of sensitive infoTypes.
repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListInfoTypesResponse other)
public ListInfoTypesResponse.Builder mergeFrom(ListInfoTypesResponse other)
Parameter
Returns
public ListInfoTypesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListInfoTypesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListInfoTypesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeInfoTypes(int index)
public ListInfoTypesResponse.Builder removeInfoTypes(int index)
Set of sensitive infoTypes.
repeated .google.privacy.dlp.v2.InfoTypeDescription info_types = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListInfoTypesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListInfoTypesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListInfoTypesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides