public static final class CustomInfoType.FileLabelInfoType extends GeneratedMessage implements CustomInfoType.FileLabelInfoTypeOrBuilderConfiguration for a custom infoType that detects file labels.
Protobuf type google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CustomInfoType.FileLabelInfoTypeImplements
CustomInfoType.FileLabelInfoTypeOrBuilderStatic Fields
GOOGLE_DRIVE_LABEL_FIELD_NUMBER
public static final int GOOGLE_DRIVE_LABEL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SENSITIVITY_LABEL_FIELD_NUMBER
public static final int SENSITIVITY_LABEL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CustomInfoType.FileLabelInfoType getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CustomInfoType.FileLabelInfoType.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.Builder |
|
newBuilder(CustomInfoType.FileLabelInfoType prototype)
public static CustomInfoType.FileLabelInfoType.Builder newBuilder(CustomInfoType.FileLabelInfoType prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CustomInfoType.FileLabelInfoType |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.Builder |
|
parseDelimitedFrom(InputStream input)
public static CustomInfoType.FileLabelInfoType parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.FileLabelInfoType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CustomInfoType.FileLabelInfoType parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.FileLabelInfoType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CustomInfoType.FileLabelInfoType parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.FileLabelInfoType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CustomInfoType.FileLabelInfoType parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.FileLabelInfoType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CustomInfoType.FileLabelInfoType parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.FileLabelInfoType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CustomInfoType.FileLabelInfoType parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.FileLabelInfoType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CustomInfoType.FileLabelInfoType> parser()| Returns | |
|---|---|
| Type | Description |
Parser<FileLabelInfoType> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public CustomInfoType.FileLabelInfoType getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType |
|
getGoogleDriveLabel()
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel getGoogleDriveLabel()Google Drive labels published by Google.
.google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel google_drive_label = 2;
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
The googleDriveLabel. |
getGoogleDriveLabelOrBuilder()
public CustomInfoType.FileLabelInfoType.GoogleDriveLabelOrBuilder getGoogleDriveLabelOrBuilder()Google Drive labels published by Google.
.google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel google_drive_label = 2;
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabelOrBuilder |
|
getParserForType()
public Parser<CustomInfoType.FileLabelInfoType> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<FileLabelInfoType> |
|
getSensitivityLabel()
public CustomInfoType.FileLabelInfoType.SensitivityLabel getSensitivityLabel()Sensitivity labels published by Microsoft.
.google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.SensitivityLabel sensitivity_label = 1;
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.SensitivityLabel |
The sensitivityLabel. |
getSensitivityLabelOrBuilder()
public CustomInfoType.FileLabelInfoType.SensitivityLabelOrBuilder getSensitivityLabelOrBuilder()Sensitivity labels published by Microsoft.
.google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.SensitivityLabel sensitivity_label = 1;
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.SensitivityLabelOrBuilder |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTypeCase()
public CustomInfoType.FileLabelInfoType.TypeCase getTypeCase()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.TypeCase |
|
hasGoogleDriveLabel()
public boolean hasGoogleDriveLabel()Google Drive labels published by Google.
.google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel google_drive_label = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the googleDriveLabel field is set. |
hasSensitivityLabel()
public boolean hasSensitivityLabel()Sensitivity labels published by Microsoft.
.google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.SensitivityLabel sensitivity_label = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sensitivityLabel field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public CustomInfoType.FileLabelInfoType.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CustomInfoType.FileLabelInfoType.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.Builder |
|
toBuilder()
public CustomInfoType.FileLabelInfoType.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|