- 3.59.0 (latest)
- 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 InspectContentRequest.Builder extends GeneratedMessageV3.Builder<InspectContentRequest.Builder> implements InspectContentRequestOrBuilder
Request to search for potentially sensitive info in a ContentItem.
Protobuf type google.privacy.dlp.v2.InspectContentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > InspectContentRequest.BuilderImplements
InspectContentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InspectContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
build()
public InspectContentRequest build()
Returns | |
---|---|
Type | Description |
InspectContentRequest |
buildPartial()
public InspectContentRequest buildPartial()
Returns | |
---|---|
Type | Description |
InspectContentRequest |
clear()
public InspectContentRequest.Builder clear()
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public InspectContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
clearInspectConfig()
public InspectContentRequest.Builder clearInspectConfig()
Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
clearInspectTemplateName()
public InspectContentRequest.Builder clearInspectTemplateName()
Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 4;
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
This builder for chaining. |
clearItem()
public InspectContentRequest.Builder clearItem()
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
clearLocationId()
public InspectContentRequest.Builder clearLocationId()
Deprecated. This field has no effect.
string location_id = 5;
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public InspectContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
clearParent()
public InspectContentRequest.Builder clearParent()
Parent resource name.
The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
Projects scope, no location specified (defaults to global):
projects/{project_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
This builder for chaining. |
clone()
public InspectContentRequest.Builder clone()
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
getDefaultInstanceForType()
public InspectContentRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
InspectContentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInspectConfig()
public InspectConfig getInspectConfig()
Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Returns | |
---|---|
Type | Description |
InspectConfig |
The inspectConfig. |
getInspectConfigBuilder()
public InspectConfig.Builder getInspectConfigBuilder()
Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Returns | |
---|---|
Type | Description |
InspectConfig.Builder |
getInspectConfigOrBuilder()
public InspectConfigOrBuilder getInspectConfigOrBuilder()
Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Returns | |
---|---|
Type | Description |
InspectConfigOrBuilder |
getInspectTemplateName()
public String getInspectTemplateName()
Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 4;
Returns | |
---|---|
Type | Description |
String |
The inspectTemplateName. |
getInspectTemplateNameBytes()
public ByteString getInspectTemplateNameBytes()
Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for inspectTemplateName. |
getItem()
public ContentItem getItem()
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;
Returns | |
---|---|
Type | Description |
ContentItem |
The item. |
getItemBuilder()
public ContentItem.Builder getItemBuilder()
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;
Returns | |
---|---|
Type | Description |
ContentItem.Builder |
getItemOrBuilder()
public ContentItemOrBuilder getItemOrBuilder()
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;
Returns | |
---|---|
Type | Description |
ContentItemOrBuilder |
getLocationId()
public String getLocationId()
Deprecated. This field has no effect.
string location_id = 5;
Returns | |
---|---|
Type | Description |
String |
The locationId. |
getLocationIdBytes()
public ByteString getLocationIdBytes()
Deprecated. This field has no effect.
string location_id = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for locationId. |
getParent()
public String getParent()
Parent resource name.
The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
Projects scope, no location specified (defaults to global):
projects/{project_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Parent resource name.
The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
Projects scope, no location specified (defaults to global):
projects/{project_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
hasInspectConfig()
public boolean hasInspectConfig()
Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the inspectConfig field is set. |
hasItem()
public boolean hasItem()
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the item field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(InspectContentRequest other)
public InspectContentRequest.Builder mergeFrom(InspectContentRequest other)
Parameter | |
---|---|
Name | Description |
other |
InspectContentRequest |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InspectContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public InspectContentRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
mergeInspectConfig(InspectConfig value)
public InspectContentRequest.Builder mergeInspectConfig(InspectConfig value)
Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Parameter | |
---|---|
Name | Description |
value |
InspectConfig |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
mergeItem(ContentItem value)
public InspectContentRequest.Builder mergeItem(ContentItem value)
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;
Parameter | |
---|---|
Name | Description |
value |
ContentItem |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InspectContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public InspectContentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
setInspectConfig(InspectConfig value)
public InspectContentRequest.Builder setInspectConfig(InspectConfig value)
Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Parameter | |
---|---|
Name | Description |
value |
InspectConfig |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
setInspectConfig(InspectConfig.Builder builderForValue)
public InspectContentRequest.Builder setInspectConfig(InspectConfig.Builder builderForValue)
Configuration for the inspector. What specified here will override the template referenced by the inspect_template_name argument.
.google.privacy.dlp.v2.InspectConfig inspect_config = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
InspectConfig.Builder |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
setInspectTemplateName(String value)
public InspectContentRequest.Builder setInspectTemplateName(String value)
Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 4;
Parameter | |
---|---|
Name | Description |
value |
String The inspectTemplateName to set. |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
This builder for chaining. |
setInspectTemplateNameBytes(ByteString value)
public InspectContentRequest.Builder setInspectTemplateNameBytes(ByteString value)
Template to use. Any configuration directly specified in inspect_config will override those set in the template. Singular fields that are set in this request will replace their corresponding fields in the template. Repeated fields are appended. Singular sub-messages and groups are recursively merged.
string inspect_template_name = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for inspectTemplateName to set. |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
This builder for chaining. |
setItem(ContentItem value)
public InspectContentRequest.Builder setItem(ContentItem value)
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;
Parameter | |
---|---|
Name | Description |
value |
ContentItem |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
setItem(ContentItem.Builder builderForValue)
public InspectContentRequest.Builder setItem(ContentItem.Builder builderForValue)
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
ContentItem.Builder |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
setLocationId(String value)
public InspectContentRequest.Builder setLocationId(String value)
Deprecated. This field has no effect.
string location_id = 5;
Parameter | |
---|---|
Name | Description |
value |
String The locationId to set. |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
This builder for chaining. |
setLocationIdBytes(ByteString value)
public InspectContentRequest.Builder setLocationIdBytes(ByteString value)
Deprecated. This field has no effect.
string location_id = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for locationId to set. |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
This builder for chaining. |
setParent(String value)
public InspectContentRequest.Builder setParent(String value)
Parent resource name.
The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
Projects scope, no location specified (defaults to global):
projects/{project_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public InspectContentRequest.Builder setParentBytes(ByteString value)
Parent resource name.
The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
Projects scope, no location specified (defaults to global):
projects/{project_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InspectContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final InspectContentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
InspectContentRequest.Builder |