public static final class ByteContentItem.Builder extends GeneratedMessageV3.Builder<ByteContentItem.Builder> implements ByteContentItemOrBuilder
Container for bytes to inspect or redact.
Protobuf type google.privacy.dlp.v2.ByteContentItem
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ByteContentItem.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ByteContentItem build()
buildPartial()
public ByteContentItem buildPartial()
clear()
public ByteContentItem.Builder clear()
Overrides
clearData()
public ByteContentItem.Builder clearData()
Content data to inspect or redact.
bytes data = 2;
clearField(Descriptors.FieldDescriptor field)
public ByteContentItem.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ByteContentItem.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearType()
public ByteContentItem.Builder clearType()
The type of data stored in the bytes string. Default will be TEXT_UTF8.
.google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
clone()
public ByteContentItem.Builder clone()
Overrides
getData()
public ByteString getData()
Content data to inspect or redact.
bytes data = 2;
getDefaultInstanceForType()
public ByteContentItem getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getType()
public ByteContentItem.BytesType getType()
The type of data stored in the bytes string. Default will be TEXT_UTF8.
.google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
getTypeValue()
public int getTypeValue()
The type of data stored in the bytes string. Default will be TEXT_UTF8.
.google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for type.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ByteContentItem other)
public ByteContentItem.Builder mergeFrom(ByteContentItem other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ByteContentItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ByteContentItem.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ByteContentItem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setData(ByteString value)
public ByteContentItem.Builder setData(ByteString value)
Content data to inspect or redact.
bytes data = 2;
Parameter |
---|
Name | Description |
value | ByteString
The data to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ByteContentItem.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ByteContentItem.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setType(ByteContentItem.BytesType value)
public ByteContentItem.Builder setType(ByteContentItem.BytesType value)
The type of data stored in the bytes string. Default will be TEXT_UTF8.
.google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
setTypeValue(int value)
public ByteContentItem.Builder setTypeValue(int value)
The type of data stored in the bytes string. Default will be TEXT_UTF8.
.google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for type to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ByteContentItem.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides