public static final class CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder extends GeneratedMessage.Builder<CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder> implements CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelFieldOrBuilderThe field values of the Google Drive label to match.
Protobuf type
google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField build()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField |
|
buildPartial()
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField buildPartial()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField |
|
clear()
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder clear()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder |
|
clearId()
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder clearId()The identifier of the Label Field.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder |
This builder for chaining. |
clearValue()
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder clearValue()The value of the Label Field to match.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getValue()
public String getValue()The value of the Label Field to match.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()The value of the Label Field to match.
string value = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField other)
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder mergeFrom(CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField other)| Parameter | |
|---|---|
| Name | Description |
other |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder |
|
setId(String value)
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder setId(String value)The identifier of the Label Field.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder setIdBytes(ByteString value)The identifier of the Label Field.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder |
This builder for chaining. |
setValue(String value)
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder setValue(String value)The value of the Label Field to match.
string value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder setValueBytes(ByteString value)The value of the Label Field to match.
string value = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField.Builder |
This builder for chaining. |