- 3.87.0 (latest)
- 3.86.0
- 3.85.0
- 3.84.0
- 3.82.0
- 3.80.0
- 3.79.0
- 3.78.0
- 3.77.0
- 3.76.0
- 3.74.0
- 3.72.0
- 3.71.0
- 3.68.0
- 3.67.0
- 3.66.0
- 3.64.0
- 3.63.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class ContentItem.Builder extends GeneratedMessage.Builder<ContentItem.Builder> implements ContentItemOrBuilderType of content to inspect.
Protobuf type google.privacy.dlp.v2.ContentItem
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ContentItem.BuilderImplements
ContentItemOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ContentItem build()| Returns | |
|---|---|
| Type | Description |
ContentItem |
|
buildPartial()
public ContentItem buildPartial()| Returns | |
|---|---|
| Type | Description |
ContentItem |
|
clear()
public ContentItem.Builder clear()| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
|
clearByteItem()
public ContentItem.Builder clearByteItem() Content data to inspect or redact. Replaces type and data.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
|
clearDataItem()
public ContentItem.Builder clearDataItem()| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
|
clearTable()
public ContentItem.Builder clearTable()Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
|
clearValue()
public ContentItem.Builder clearValue()String data to inspect or redact.
string value = 3;
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
This builder for chaining. |
getByteItem()
public ByteContentItem getByteItem() Content data to inspect or redact. Replaces type and data.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
| Returns | |
|---|---|
| Type | Description |
ByteContentItem |
The byteItem. |
getByteItemBuilder()
public ByteContentItem.Builder getByteItemBuilder() Content data to inspect or redact. Replaces type and data.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
| Returns | |
|---|---|
| Type | Description |
ByteContentItem.Builder |
|
getByteItemOrBuilder()
public ByteContentItemOrBuilder getByteItemOrBuilder() Content data to inspect or redact. Replaces type and data.
.google.privacy.dlp.v2.ByteContentItem byte_item = 5;
| Returns | |
|---|---|
| Type | Description |
ByteContentItemOrBuilder |
|
getDataItemCase()
public ContentItem.DataItemCase getDataItemCase()| Returns | |
|---|---|
| Type | Description |
ContentItem.DataItemCase |
|
getDefaultInstanceForType()
public ContentItem getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ContentItem |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTable()
public Table getTable()Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
| Returns | |
|---|---|
| Type | Description |
Table |
The table. |
getTableBuilder()
public Table.Builder getTableBuilder()Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
| Returns | |
|---|---|
| Type | Description |
Table.Builder |
|
getTableOrBuilder()
public TableOrBuilder getTableOrBuilder()Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
| Returns | |
|---|---|
| Type | Description |
TableOrBuilder |
|
getValue()
public String 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()Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
| 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteContentItem |
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
|
mergeFrom(ContentItem other)
public ContentItem.Builder mergeFrom(ContentItem other)| Parameter | |
|---|---|
| Name | Description |
other |
ContentItem |
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContentItem.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ContentItem.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
|
mergeTable(Table value)
public ContentItem.Builder mergeTable(Table value)Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Table |
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteContentItem |
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ByteContentItem.Builder |
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
|
setTable(Table value)
public ContentItem.Builder setTable(Table value)Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Table |
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
|
setTable(Table.Builder builderForValue)
public ContentItem.Builder setTable(Table.Builder builderForValue)Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more.
.google.privacy.dlp.v2.Table table = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Table.Builder |
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
|
setValue(String value)
public ContentItem.Builder setValue(String value)String data to inspect or redact.
string value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public ContentItem.Builder setValueBytes(ByteString value)String data to inspect or redact.
string value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
ContentItem.Builder |
This builder for chaining. |