public static final class FileLabel.GoogleDriveLabelMetadata extends GeneratedMessage implements FileLabel.GoogleDriveLabelMetadataOrBuilderGoogle Drive labels published by Google.
Protobuf type google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > FileLabel.GoogleDriveLabelMetadataImplements
FileLabel.GoogleDriveLabelMetadataOrBuilderStatic Fields
LABEL_FIELDS_FIELD_NUMBER
public static final int LABEL_FIELDS_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 FileLabel.GoogleDriveLabelMetadata getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static FileLabel.GoogleDriveLabelMetadata.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata.Builder |
|
newBuilder(FileLabel.GoogleDriveLabelMetadata prototype)
public static FileLabel.GoogleDriveLabelMetadata.Builder newBuilder(FileLabel.GoogleDriveLabelMetadata prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
FileLabel.GoogleDriveLabelMetadata |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata.Builder |
|
parseDelimitedFrom(InputStream input)
public static FileLabel.GoogleDriveLabelMetadata parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FileLabel.GoogleDriveLabelMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static FileLabel.GoogleDriveLabelMetadata parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FileLabel.GoogleDriveLabelMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static FileLabel.GoogleDriveLabelMetadata parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileLabel.GoogleDriveLabelMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static FileLabel.GoogleDriveLabelMetadata parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FileLabel.GoogleDriveLabelMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static FileLabel.GoogleDriveLabelMetadata parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FileLabel.GoogleDriveLabelMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static FileLabel.GoogleDriveLabelMetadata parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FileLabel.GoogleDriveLabelMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<FileLabel.GoogleDriveLabelMetadata> parser()| Returns | |
|---|---|
| Type | Description |
Parser<GoogleDriveLabelMetadata> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public FileLabel.GoogleDriveLabelMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata |
|
getLabelFields(int index)
public FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata getLabelFields(int index)The field values of the Google Drive label
repeated .google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata label_fields = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata |
|
getLabelFieldsCount()
public int getLabelFieldsCount()The field values of the Google Drive label
repeated .google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata label_fields = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelFieldsList()
public List<FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata> getLabelFieldsList()The field values of the Google Drive label
repeated .google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata label_fields = 2;
| Returns | |
|---|---|
| Type | Description |
List<LabelFieldMetadata> |
|
getLabelFieldsOrBuilder(int index)
public FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadataOrBuilder getLabelFieldsOrBuilder(int index)The field values of the Google Drive label
repeated .google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata label_fields = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadataOrBuilder |
|
getLabelFieldsOrBuilderList()
public List<? extends FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadataOrBuilder> getLabelFieldsOrBuilderList()The field values of the Google Drive label
repeated .google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata label_fields = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadataOrBuilder> |
|
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<FileLabel.GoogleDriveLabelMetadata> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<GoogleDriveLabelMetadata> |
|
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 FileLabel.GoogleDriveLabelMetadata.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected FileLabel.GoogleDriveLabelMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata.Builder |
|
toBuilder()
public FileLabel.GoogleDriveLabelMetadata.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
FileLabel.GoogleDriveLabelMetadata.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|