public static final class ContentItem.Builder extends GeneratedMessageV3.Builder<ContentItem.Builder> implements ContentItemOrBuilder
Protobuf type google.privacy.dlp.v2.ContentItem
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 ContentItem.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ContentItem build()
buildPartial()
public ContentItem buildPartial()
clear()
public ContentItem.Builder clear()
Overrides
clearByteItem()
public ContentItem.Builder clearByteItem()
Content data to inspect or redact. Replaces type
and data
.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
clearDataItem()
public ContentItem.Builder clearDataItem()
clearField(Descriptors.FieldDescriptor field)
public ContentItem.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ContentItem.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTable()
public ContentItem.Builder clearTable()
clearValue()
public ContentItem.Builder clearValue()
String data to inspect or redact.
string value = 3;
clone()
public ContentItem.Builder clone()
Overrides
getByteItem()
public ByteContentItem getByteItem()
Content data to inspect or redact. Replaces type
and data
.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
getByteItemBuilder()
public ByteContentItem.Builder getByteItemBuilder()
Content data to inspect or redact. Replaces type
and data
.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
getByteItemOrBuilder()
public ByteContentItemOrBuilder getByteItemOrBuilder()
Content data to inspect or redact. Replaces type
and data
.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
getDataItemCase()
public ContentItem.DataItemCase getDataItemCase()
getDefaultInstanceForType()
public ContentItem getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTable()
Returns |
---|
Type | Description |
Table | The table.
|
getTableBuilder()
public Table.Builder getTableBuilder()
getTableOrBuilder()
public TableOrBuilder getTableOrBuilder()
getValue()
String data to inspect or redact.
string value = 3;
Returns |
---|
Type | Description |
String | The value.
|
getValueBytes()
public ByteString getValueBytes()
String data to inspect or redact.
string value = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for value.
|
hasByteItem()
public boolean hasByteItem()
Content data to inspect or redact. Replaces type
and data
.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
Returns |
---|
Type | Description |
boolean | Whether the byteItem field is set.
|
hasTable()
public boolean hasTable()
Returns |
---|
Type | Description |
boolean | Whether the table field is set.
|
hasValue()
public boolean hasValue()
String data to inspect or redact.
string value = 3;
Returns |
---|
Type | Description |
boolean | Whether the value field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeByteItem(ByteContentItem value)
public ContentItem.Builder mergeByteItem(ByteContentItem value)
Content data to inspect or redact. Replaces type
and data
.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
mergeFrom(ContentItem other)
public ContentItem.Builder mergeFrom(ContentItem other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContentItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ContentItem.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeTable(Table value)
public ContentItem.Builder mergeTable(Table value)
Parameter |
---|
Name | Description |
value | Table
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContentItem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setByteItem(ByteContentItem value)
public ContentItem.Builder setByteItem(ByteContentItem value)
Content data to inspect or redact. Replaces type
and data
.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
setByteItem(ByteContentItem.Builder builderForValue)
public ContentItem.Builder setByteItem(ByteContentItem.Builder builderForValue)
Content data to inspect or redact. Replaces type
and data
.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
setField(Descriptors.FieldDescriptor field, Object value)
public ContentItem.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContentItem.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTable(Table value)
public ContentItem.Builder setTable(Table value)
Parameter |
---|
Name | Description |
value | Table
|
setTable(Table.Builder builderForValue)
public ContentItem.Builder setTable(Table.Builder builderForValue)
setUnknownFields(UnknownFieldSet unknownFields)
public final ContentItem.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setValue(String value)
public ContentItem.Builder setValue(String value)
String data to inspect or redact.
string value = 3;
Parameter |
---|
Name | Description |
value | String
The value to set.
|
setValueBytes(ByteString value)
public ContentItem.Builder setValueBytes(ByteString value)
String data to inspect or redact.
string value = 3;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for value to set.
|