public final class InfoTypeDescription extends GeneratedMessageV3 implements InfoTypeDescriptionOrBuilder
InfoType description.
Protobuf type google.privacy.dlp.v2.InfoTypeDescription
Static Fields
CATEGORIES_FIELD_NUMBER
public static final int CATEGORIES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUPPORTED_BY_FIELD_NUMBER
public static final int SUPPORTED_BY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VERSIONS_FIELD_NUMBER
public static final int VERSIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static InfoTypeDescription getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InfoTypeDescription.Builder newBuilder()
newBuilder(InfoTypeDescription prototype)
public static InfoTypeDescription.Builder newBuilder(InfoTypeDescription prototype)
public static InfoTypeDescription parseDelimitedFrom(InputStream input)
public static InfoTypeDescription parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InfoTypeDescription parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeDescription parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InfoTypeDescription parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeDescription parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeDescription parseFrom(CodedInputStream input)
public static InfoTypeDescription parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InfoTypeDescription parseFrom(InputStream input)
public static InfoTypeDescription parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InfoTypeDescription parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeDescription parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InfoTypeDescription> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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
|
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;
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
|
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()
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.
|
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()
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.
|
getParserForType()
public Parser<InfoTypeDescription> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
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;
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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
|
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;
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
|
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> | |
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InfoTypeDescription.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InfoTypeDescription.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public InfoTypeDescription.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides