public static final class InspectContentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InspectContentRequest.Builder> implements InspectContentRequestOrBuilder
Request to search for potentially sensitive info in a ContentItem.Protobuf type
google.privacy.dlp.v2.InspectContentRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InspectContentRequest.Builder>public InspectContentRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InspectContentRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InspectContentRequest.Builder>public InspectContentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InspectContentRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InspectContentRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InspectContentRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InspectContentRequest.Builder>public InspectContentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<InspectContentRequest.Builder>public InspectContentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InspectContentRequest.Builder>public InspectContentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InspectContentRequest.Builder>public InspectContentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InspectContentRequest.Builder>public InspectContentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InspectContentRequest.Builder>public InspectContentRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InspectContentRequest.Builder>public InspectContentRequest.Builder mergeFrom(InspectContentRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InspectContentRequest.Builder>public InspectContentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InspectContentRequest.Builder>IOExceptionpublic String getParent()
Parent resource name.
The format of this value varies depending on whether you have [specified a
processing
location](https://cloud.google.com/dlp/docs/specifying-location):
+ Projects scope, location specified:<br/>
`projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
+ Projects scope, no location specified (defaults to global):<br/>
`projects/`<var>PROJECT_ID</var>
The following example `parent` string specifies a parent project with the
identifier `example-project`, and specifies the `europe-west3` location
for processing data:
parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }getParent in interface InspectContentRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Parent resource name.
The format of this value varies depending on whether you have [specified a
processing
location](https://cloud.google.com/dlp/docs/specifying-location):
+ Projects scope, location specified:<br/>
`projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
+ Projects scope, no location specified (defaults to global):<br/>
`projects/`<var>PROJECT_ID</var>
The following example `parent` string specifies a parent project with the
identifier `example-project`, and specifies the `europe-west3` location
for processing data:
parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }getParentBytes in interface InspectContentRequestOrBuilderpublic InspectContentRequest.Builder setParent(String value)
Parent resource name.
The format of this value varies depending on whether you have [specified a
processing
location](https://cloud.google.com/dlp/docs/specifying-location):
+ Projects scope, location specified:<br/>
`projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
+ Projects scope, no location specified (defaults to global):<br/>
`projects/`<var>PROJECT_ID</var>
The following example `parent` string specifies a parent project with the
identifier `example-project`, and specifies the `europe-west3` location
for processing data:
parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }value - The parent to set.public InspectContentRequest.Builder clearParent()
Parent resource name.
The format of this value varies depending on whether you have [specified a
processing
location](https://cloud.google.com/dlp/docs/specifying-location):
+ Projects scope, location specified:<br/>
`projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
+ Projects scope, no location specified (defaults to global):<br/>
`projects/`<var>PROJECT_ID</var>
The following example `parent` string specifies a parent project with the
identifier `example-project`, and specifies the `europe-west3` location
for processing data:
parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }public InspectContentRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Parent resource name.
The format of this value varies depending on whether you have [specified a
processing
location](https://cloud.google.com/dlp/docs/specifying-location):
+ Projects scope, location specified:<br/>
`projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
+ Projects scope, no location specified (defaults to global):<br/>
`projects/`<var>PROJECT_ID</var>
The following example `parent` string specifies a parent project with the
identifier `example-project`, and specifies the `europe-west3` location
for processing data:
parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.resource_reference) = { ... }value - The bytes for parent to set.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;hasInspectConfig in interface InspectContentRequestOrBuilderpublic 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;getInspectConfig in interface InspectContentRequestOrBuilderpublic 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;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;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;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;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;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;getInspectConfigOrBuilder in interface InspectContentRequestOrBuilderpublic boolean hasItem()
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;hasItem in interface InspectContentRequestOrBuilderpublic ContentItem getItem()
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;getItem in interface InspectContentRequestOrBuilderpublic InspectContentRequest.Builder setItem(ContentItem value)
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;public InspectContentRequest.Builder setItem(ContentItem.Builder builderForValue)
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;public InspectContentRequest.Builder mergeItem(ContentItem value)
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;public InspectContentRequest.Builder clearItem()
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;public ContentItem.Builder getItemBuilder()
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;public ContentItemOrBuilder getItemOrBuilder()
The item to inspect.
.google.privacy.dlp.v2.ContentItem item = 3;getItemOrBuilder in interface InspectContentRequestOrBuilderpublic 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;getInspectTemplateName in interface InspectContentRequestOrBuilderpublic com.google.protobuf.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;getInspectTemplateNameBytes in interface InspectContentRequestOrBuilderpublic 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;value - The inspectTemplateName to set.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;public InspectContentRequest.Builder setInspectTemplateNameBytes(com.google.protobuf.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;value - The bytes for inspectTemplateName to set.public String getLocationId()
Deprecated. This field has no effect.
string location_id = 5;getLocationId in interface InspectContentRequestOrBuilderpublic com.google.protobuf.ByteString getLocationIdBytes()
Deprecated. This field has no effect.
string location_id = 5;getLocationIdBytes in interface InspectContentRequestOrBuilderpublic InspectContentRequest.Builder setLocationId(String value)
Deprecated. This field has no effect.
string location_id = 5;value - The locationId to set.public InspectContentRequest.Builder clearLocationId()
Deprecated. This field has no effect.
string location_id = 5;public InspectContentRequest.Builder setLocationIdBytes(com.google.protobuf.ByteString value)
Deprecated. This field has no effect.
string location_id = 5;value - The bytes for locationId to set.public final InspectContentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InspectContentRequest.Builder>public final InspectContentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InspectContentRequest.Builder>Copyright © 2022 Google LLC. All rights reserved.