public static final class MetadataLocation.Builder extends GeneratedMessageV3.Builder<MetadataLocation.Builder> implements MetadataLocationOrBuilder
Metadata Location
Protobuf type google.privacy.dlp.v2.MetadataLocation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public MetadataLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public MetadataLocation build()
public MetadataLocation buildPartial()
public MetadataLocation.Builder clear()
Overrides
public MetadataLocation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public MetadataLocation.Builder clearLabel()
public MetadataLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public MetadataLocation.Builder clearStorageLabel()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public MetadataLocation.Builder clearType()
Type of metadata containing the finding.
.google.privacy.dlp.v2.MetadataType type = 1;
public MetadataLocation.Builder clone()
Overrides
public MetadataLocation getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public MetadataLocation.LabelCase getLabelCase()
public StorageMetadataLabel getStorageLabel()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public StorageMetadataLabel.Builder getStorageLabelBuilder()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public StorageMetadataLabelOrBuilder getStorageLabelOrBuilder()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public MetadataType getType()
Type of metadata containing the finding.
.google.privacy.dlp.v2.MetadataType type = 1;
public int getTypeValue()
Type of metadata containing the finding.
.google.privacy.dlp.v2.MetadataType type = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for type.
|
public boolean hasStorageLabel()
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
Returns |
---|
Type | Description |
boolean | Whether the storageLabel field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MetadataLocation.Builder mergeFrom(MetadataLocation other)
public MetadataLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public MetadataLocation.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public MetadataLocation.Builder mergeStorageLabel(StorageMetadataLabel value)
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public final MetadataLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public MetadataLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public MetadataLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public MetadataLocation.Builder setStorageLabel(StorageMetadataLabel value)
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public MetadataLocation.Builder setStorageLabel(StorageMetadataLabel.Builder builderForValue)
Storage metadata.
.google.privacy.dlp.v2.StorageMetadataLabel storage_label = 3;
public MetadataLocation.Builder setType(MetadataType value)
Type of metadata containing the finding.
.google.privacy.dlp.v2.MetadataType type = 1;
public MetadataLocation.Builder setTypeValue(int value)
Type of metadata containing the finding.
.google.privacy.dlp.v2.MetadataType type = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for type to set.
|
public final MetadataLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides