- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class InfoTypeDescription.Builder extends GeneratedMessageV3.Builder<InfoTypeDescription.Builder> implements InfoTypeDescriptionOrBuilder
InfoType description.
Protobuf type google.privacy.dlp.v2.InfoTypeDescription
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InfoTypeDescription.BuilderImplements
InfoTypeDescriptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllCategories(Iterable<? extends InfoTypeCategory> values)
public InfoTypeDescription.Builder addAllCategories(Iterable<? extends InfoTypeCategory> values)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.InfoTypeCategory> |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
addAllSupportedBy(Iterable<? extends InfoTypeSupportedBy> values)
public InfoTypeDescription.Builder addAllSupportedBy(Iterable<? extends InfoTypeSupportedBy> values)
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.InfoTypeSupportedBy> The supportedBy to add. |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
addAllSupportedByValue(Iterable<Integer> values)
public InfoTypeDescription.Builder addAllSupportedByValue(Iterable<Integer> values)
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for supportedBy to add. |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
addAllVersions(Iterable<? extends VersionDescription> values)
public InfoTypeDescription.Builder addAllVersions(Iterable<? extends VersionDescription> values)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.VersionDescription> |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
addCategories(InfoTypeCategory value)
public InfoTypeDescription.Builder addCategories(InfoTypeCategory value)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Parameter | |
---|---|
Name | Description |
value | InfoTypeCategory |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
addCategories(InfoTypeCategory.Builder builderForValue)
public InfoTypeDescription.Builder addCategories(InfoTypeCategory.Builder builderForValue)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Parameter | |
---|---|
Name | Description |
builderForValue | InfoTypeCategory.Builder |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
addCategories(int index, InfoTypeCategory value)
public InfoTypeDescription.Builder addCategories(int index, InfoTypeCategory value)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Parameters | |
---|---|
Name | Description |
index | int |
value | InfoTypeCategory |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
addCategories(int index, InfoTypeCategory.Builder builderForValue)
public InfoTypeDescription.Builder addCategories(int index, InfoTypeCategory.Builder builderForValue)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | InfoTypeCategory.Builder |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
addCategoriesBuilder()
public InfoTypeCategory.Builder addCategoriesBuilder()
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Returns | |
---|---|
Type | Description |
InfoTypeCategory.Builder |
addCategoriesBuilder(int index)
public InfoTypeCategory.Builder addCategoriesBuilder(int index)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
InfoTypeCategory.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InfoTypeDescription.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
addSupportedBy(InfoTypeSupportedBy value)
public InfoTypeDescription.Builder addSupportedBy(InfoTypeSupportedBy value)
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
Parameter | |
---|---|
Name | Description |
value | InfoTypeSupportedBy The supportedBy to add. |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
addSupportedByValue(int value)
public InfoTypeDescription.Builder addSupportedByValue(int value)
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for supportedBy to add. |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
addVersions(VersionDescription value)
public InfoTypeDescription.Builder addVersions(VersionDescription value)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Parameter | |
---|---|
Name | Description |
value | VersionDescription |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
addVersions(VersionDescription.Builder builderForValue)
public InfoTypeDescription.Builder addVersions(VersionDescription.Builder builderForValue)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Parameter | |
---|---|
Name | Description |
builderForValue | VersionDescription.Builder |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
addVersions(int index, VersionDescription value)
public InfoTypeDescription.Builder addVersions(int index, VersionDescription value)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Parameters | |
---|---|
Name | Description |
index | int |
value | VersionDescription |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
addVersions(int index, VersionDescription.Builder builderForValue)
public InfoTypeDescription.Builder addVersions(int index, VersionDescription.Builder builderForValue)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | VersionDescription.Builder |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
addVersionsBuilder()
public VersionDescription.Builder addVersionsBuilder()
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Returns | |
---|---|
Type | Description |
VersionDescription.Builder |
addVersionsBuilder(int index)
public VersionDescription.Builder addVersionsBuilder(int index)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VersionDescription.Builder |
build()
public InfoTypeDescription build()
Returns | |
---|---|
Type | Description |
InfoTypeDescription |
buildPartial()
public InfoTypeDescription buildPartial()
Returns | |
---|---|
Type | Description |
InfoTypeDescription |
clear()
public InfoTypeDescription.Builder clear()
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
clearCategories()
public InfoTypeDescription.Builder clearCategories()
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
clearDescription()
public InfoTypeDescription.Builder clearDescription()
Description of the infotype. Translated when language is provided in the request.
string description = 4;
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
clearDisplayName()
public InfoTypeDescription.Builder clearDisplayName()
Human readable form of the infoType name.
string display_name = 2;
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public InfoTypeDescription.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
clearName()
public InfoTypeDescription.Builder clearName()
Internal name of the infoType.
string name = 1;
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InfoTypeDescription.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
clearSensitivityScore()
public InfoTypeDescription.Builder clearSensitivityScore()
The default sensitivity of the infoType.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
clearSupportedBy()
public InfoTypeDescription.Builder clearSupportedBy()
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
clearVersions()
public InfoTypeDescription.Builder clearVersions()
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
clone()
public InfoTypeDescription.Builder clone()
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
getCategories(int index)
public InfoTypeCategory getCategories(int index)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
InfoTypeCategory |
getCategoriesBuilder(int index)
public InfoTypeCategory.Builder getCategoriesBuilder(int index)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
InfoTypeCategory.Builder |
getCategoriesBuilderList()
public List<InfoTypeCategory.Builder> getCategoriesBuilderList()
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Returns | |
---|---|
Type | Description |
List<Builder> |
getCategoriesCount()
public int getCategoriesCount()
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Returns | |
---|---|
Type | Description |
int |
getCategoriesList()
public List<InfoTypeCategory> getCategoriesList()
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Returns | |
---|---|
Type | Description |
List<InfoTypeCategory> |
getCategoriesOrBuilder(int index)
public InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
InfoTypeCategoryOrBuilder |
getCategoriesOrBuilderList()
public List<? extends InfoTypeCategoryOrBuilder> getCategoriesOrBuilderList()
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Returns | |
---|---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.InfoTypeCategoryOrBuilder> |
getDefaultInstanceForType()
public InfoTypeDescription getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InfoTypeDescription |
getDescription()
public String getDescription()
Description of the infotype. Translated when language is provided in the request.
string description = 4;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the infotype. Translated when language is provided in the request.
string description = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Human readable form of the infoType name.
string display_name = 2;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Human readable form of the infoType name.
string display_name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getName()
public String getName()
Internal name of the infoType.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Internal name of the infoType.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getSensitivityScore()
public SensitivityScore getSensitivityScore()
The default sensitivity of the infoType.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
Returns | |
---|---|
Type | Description |
SensitivityScore | The sensitivityScore. |
getSensitivityScoreBuilder()
public SensitivityScore.Builder getSensitivityScoreBuilder()
The default sensitivity of the infoType.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
Returns | |
---|---|
Type | Description |
SensitivityScore.Builder |
getSensitivityScoreOrBuilder()
public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()
The default sensitivity of the infoType.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
Returns | |
---|---|
Type | Description |
SensitivityScoreOrBuilder |
getSupportedBy(int index)
public InfoTypeSupportedBy getSupportedBy(int index)
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
InfoTypeSupportedBy | The supportedBy at the given index. |
getSupportedByCount()
public int getSupportedByCount()
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
Returns | |
---|---|
Type | Description |
int | The count of supportedBy. |
getSupportedByList()
public List<InfoTypeSupportedBy> getSupportedByList()
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
Returns | |
---|---|
Type | Description |
List<InfoTypeSupportedBy> | A list containing the supportedBy. |
getSupportedByValue(int index)
public int getSupportedByValue(int index)
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire of supportedBy at the given index. |
getSupportedByValueList()
public List<Integer> getSupportedByValueList()
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
Returns | |
---|---|
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for supportedBy. |
getVersions(int index)
public VersionDescription getVersions(int index)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VersionDescription |
getVersionsBuilder(int index)
public VersionDescription.Builder getVersionsBuilder(int index)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VersionDescription.Builder |
getVersionsBuilderList()
public List<VersionDescription.Builder> getVersionsBuilderList()
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Returns | |
---|---|
Type | Description |
List<Builder> |
getVersionsCount()
public int getVersionsCount()
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Returns | |
---|---|
Type | Description |
int |
getVersionsList()
public List<VersionDescription> getVersionsList()
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Returns | |
---|---|
Type | Description |
List<VersionDescription> |
getVersionsOrBuilder(int index)
public VersionDescriptionOrBuilder getVersionsOrBuilder(int index)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VersionDescriptionOrBuilder |
getVersionsOrBuilderList()
public List<? extends VersionDescriptionOrBuilder> getVersionsOrBuilderList()
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Returns | |
---|---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.VersionDescriptionOrBuilder> |
hasSensitivityScore()
public boolean hasSensitivityScore()
The default sensitivity of the infoType.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
Returns | |
---|---|
Type | Description |
boolean | Whether the sensitivityScore field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(InfoTypeDescription other)
public InfoTypeDescription.Builder mergeFrom(InfoTypeDescription other)
Parameter | |
---|---|
Name | Description |
other | InfoTypeDescription |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InfoTypeDescription.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InfoTypeDescription.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
mergeSensitivityScore(SensitivityScore value)
public InfoTypeDescription.Builder mergeSensitivityScore(SensitivityScore value)
The default sensitivity of the infoType.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
Parameter | |
---|---|
Name | Description |
value | SensitivityScore |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InfoTypeDescription.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
removeCategories(int index)
public InfoTypeDescription.Builder removeCategories(int index)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
removeVersions(int index)
public InfoTypeDescription.Builder removeVersions(int index)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
setCategories(int index, InfoTypeCategory value)
public InfoTypeDescription.Builder setCategories(int index, InfoTypeCategory value)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Parameters | |
---|---|
Name | Description |
index | int |
value | InfoTypeCategory |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
setCategories(int index, InfoTypeCategory.Builder builderForValue)
public InfoTypeDescription.Builder setCategories(int index, InfoTypeCategory.Builder builderForValue)
The category of the infoType.
repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | InfoTypeCategory.Builder |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
setDescription(String value)
public InfoTypeDescription.Builder setDescription(String value)
Description of the infotype. Translated when language is provided in the request.
string description = 4;
Parameter | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public InfoTypeDescription.Builder setDescriptionBytes(ByteString value)
Description of the infotype. Translated when language is provided in the request.
string description = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
setDisplayName(String value)
public InfoTypeDescription.Builder setDisplayName(String value)
Human readable form of the infoType name.
string display_name = 2;
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public InfoTypeDescription.Builder setDisplayNameBytes(ByteString value)
Human readable form of the infoType name.
string display_name = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public InfoTypeDescription.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
setName(String value)
public InfoTypeDescription.Builder setName(String value)
Internal name of the infoType.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public InfoTypeDescription.Builder setNameBytes(ByteString value)
Internal name of the infoType.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InfoTypeDescription.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
setSensitivityScore(SensitivityScore value)
public InfoTypeDescription.Builder setSensitivityScore(SensitivityScore value)
The default sensitivity of the infoType.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
Parameter | |
---|---|
Name | Description |
value | SensitivityScore |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
setSensitivityScore(SensitivityScore.Builder builderForValue)
public InfoTypeDescription.Builder setSensitivityScore(SensitivityScore.Builder builderForValue)
The default sensitivity of the infoType.
.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
Parameter | |
---|---|
Name | Description |
builderForValue | SensitivityScore.Builder |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
setSupportedBy(int index, InfoTypeSupportedBy value)
public InfoTypeDescription.Builder setSupportedBy(int index, InfoTypeSupportedBy value)
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | InfoTypeSupportedBy The supportedBy to set. |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
setSupportedByValue(int index, int value)
public InfoTypeDescription.Builder setSupportedByValue(int index, int value)
Which parts of the API supports this InfoType.
repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for supportedBy to set. |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final InfoTypeDescription.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
setVersions(int index, VersionDescription value)
public InfoTypeDescription.Builder setVersions(int index, VersionDescription value)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Parameters | |
---|---|
Name | Description |
index | int |
value | VersionDescription |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |
setVersions(int index, VersionDescription.Builder builderForValue)
public InfoTypeDescription.Builder setVersions(int index, VersionDescription.Builder builderForValue)
A list of available versions for the infotype.
repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | VersionDescription.Builder |
Returns | |
---|---|
Type | Description |
InfoTypeDescription.Builder |