public static final class CustomInfoType.FileLabelInfoType.GoogleDriveLabel extends GeneratedMessage implements CustomInfoType.FileLabelInfoType.GoogleDriveLabelOrBuilderGoogle Drive labels published by Google.
Protobuf type google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CustomInfoType.FileLabelInfoType.GoogleDriveLabelStatic Fields
LABEL_FIELDS_TO_MATCH_FIELD_NUMBER
public static final int LABEL_FIELDS_TO_MATCH_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LABEL_ID_FIELD_NUMBER
public static final int LABEL_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder |
|
newBuilder(CustomInfoType.FileLabelInfoType.GoogleDriveLabel prototype)
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder newBuilder(CustomInfoType.FileLabelInfoType.GoogleDriveLabel prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder |
|
parseDelimitedFrom(InputStream input)
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomInfoType.FileLabelInfoType.GoogleDriveLabel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CustomInfoType.FileLabelInfoType.GoogleDriveLabel> parser()| Returns | |
|---|---|
| Type | Description |
Parser<GoogleDriveLabel> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel |
|
getLabelFieldsToMatch(int index)
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField getLabelFieldsToMatch(int index)The field values of the Google Drive label to match.
repeated .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField label_fields_to_match = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField |
|
getLabelFieldsToMatchCount()
public int getLabelFieldsToMatchCount()The field values of the Google Drive label to match.
repeated .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField label_fields_to_match = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelFieldsToMatchList()
public List<CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField> getLabelFieldsToMatchList()The field values of the Google Drive label to match.
repeated .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField label_fields_to_match = 2;
| Returns | |
|---|---|
| Type | Description |
List<LabelField> |
|
getLabelFieldsToMatchOrBuilder(int index)
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelFieldOrBuilder getLabelFieldsToMatchOrBuilder(int index)The field values of the Google Drive label to match.
repeated .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField label_fields_to_match = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelFieldOrBuilder |
|
getLabelFieldsToMatchOrBuilderList()
public List<? extends CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelFieldOrBuilder> getLabelFieldsToMatchOrBuilderList()The field values of the Google Drive label to match.
repeated .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField label_fields_to_match = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelFieldOrBuilder> |
|
getLabelId()
public String getLabelId()The label ID of the Google Drive label.
string label_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The labelId. |
getLabelIdBytes()
public ByteString getLabelIdBytes()The label ID of the Google Drive label.
string label_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for labelId. |
getParserForType()
public Parser<CustomInfoType.FileLabelInfoType.GoogleDriveLabel> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<GoogleDriveLabel> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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.GoogleDriveLabel.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder |
|
toBuilder()
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|