Class FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata (3.103.0)

public static final class FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata extends GeneratedMessage implements FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadataOrBuilder

The field values of the Google Drive label

Protobuf type google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata

Static Fields

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata getDefaultInstance()
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata.Builder newBuilder()
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata.Builder

newBuilder(FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata prototype)

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata.Builder newBuilder(FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata prototype)
Parameter
Name Description
prototype FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata.Builder

parseDelimitedFrom(InputStream input)

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata> parser()
Returns
Type Description
Parser<LabelFieldMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata getDefaultInstanceForType()
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata

getId()

public String getId()

The identifier of the Label Field.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

The identifier of the Label Field.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getParserForType()

public Parser<FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata> getParserForType()
Returns
Type Description
Parser<LabelFieldMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValue()

public Value getValue()

The value of the Label Field.

.google.privacy.dlp.v2.Value value = 2;

Returns
Type Description
Value

The value.

getValueOrBuilder()

public ValueOrBuilder getValueOrBuilder()

The value of the Label Field.

.google.privacy.dlp.v2.Value value = 2;

Returns
Type Description
ValueOrBuilder

hasValue()

public boolean hasValue()

The value of the Label Field.

.google.privacy.dlp.v2.Value value = 2;

Returns
Type Description
boolean

Whether the value field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata.Builder newBuilderForType()
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata.Builder
Overrides

toBuilder()

public FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata.Builder toBuilder()
Returns
Type Description
FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException