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