Class CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder (3.103.0)

public static final class CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder extends GeneratedMessage.Builder<CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder> implements CustomInfoType.FileLabelInfoType.GoogleDriveLabelOrBuilder

Google Drive labels published by Google.

Protobuf type google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel

Static Methods

getDescriptor()

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

Methods

addAllLabelFieldsToMatch(Iterable<? extends CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField> values)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder addAllLabelFieldsToMatch(Iterable<? extends CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField> values)

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
values Iterable<? extends com.google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField>
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder

addLabelFieldsToMatch(CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField value)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder addLabelFieldsToMatch(CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField value)

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
value CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder

addLabelFieldsToMatch(CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder builderForValue)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder addLabelFieldsToMatch(CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder builderForValue)

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
builderForValue CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder

addLabelFieldsToMatch(int index, CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField value)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder addLabelFieldsToMatch(int index, CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField value)

The field values of the Google Drive label to match.

repeated .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField label_fields_to_match = 2;

Parameters
Name Description
index int
value CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder

addLabelFieldsToMatch(int index, CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder builderForValue)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder addLabelFieldsToMatch(int index, CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder builderForValue)

The field values of the Google Drive label to match.

repeated .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField label_fields_to_match = 2;

Parameters
Name Description
index int
builderForValue CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder

addLabelFieldsToMatchBuilder()

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder addLabelFieldsToMatchBuilder()

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
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder

addLabelFieldsToMatchBuilder(int index)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder addLabelFieldsToMatchBuilder(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.Builder

build()

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel build()
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel

buildPartial()

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel buildPartial()
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel

clear()

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder clear()
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder
Overrides

clearLabelFieldsToMatch()

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder clearLabelFieldsToMatch()

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
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder

clearLabelId()

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder clearLabelId()

The label ID of the Google Drive label.

string label_id = 1;

Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder

This builder for chaining.

getDefaultInstanceForType()

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel getDefaultInstanceForType()
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getLabelFieldsToMatchBuilder(int index)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder getLabelFieldsToMatchBuilder(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.Builder

getLabelFieldsToMatchBuilderList()

public List<CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder> getLabelFieldsToMatchBuilderList()

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<Builder>

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomInfoType.FileLabelInfoType.GoogleDriveLabel other)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder mergeFrom(CustomInfoType.FileLabelInfoType.GoogleDriveLabel other)
Parameter
Name Description
other CustomInfoType.FileLabelInfoType.GoogleDriveLabel
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder
Overrides

removeLabelFieldsToMatch(int index)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder removeLabelFieldsToMatch(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.Builder

setLabelFieldsToMatch(int index, CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField value)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder setLabelFieldsToMatch(int index, CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField value)

The field values of the Google Drive label to match.

repeated .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField label_fields_to_match = 2;

Parameters
Name Description
index int
value CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder

setLabelFieldsToMatch(int index, CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder builderForValue)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder setLabelFieldsToMatch(int index, CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder builderForValue)

The field values of the Google Drive label to match.

repeated .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField label_fields_to_match = 2;

Parameters
Name Description
index int
builderForValue CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder
Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder

setLabelId(String value)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder setLabelId(String value)

The label ID of the Google Drive label.

string label_id = 1;

Parameter
Name Description
value String

The labelId to set.

Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder

This builder for chaining.

setLabelIdBytes(ByteString value)

public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder setLabelIdBytes(ByteString value)

The label ID of the Google Drive label.

string label_id = 1;

Parameter
Name Description
value ByteString

The bytes for labelId to set.

Returns
Type Description
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.Builder

This builder for chaining.