Class HybridInspectDlpJobRequest.Builder (3.48.0)

public static final class HybridInspectDlpJobRequest.Builder extends GeneratedMessageV3.Builder<HybridInspectDlpJobRequest.Builder> implements HybridInspectDlpJobRequestOrBuilder

Request to search for potentially sensitive info in a custom location.

Protobuf type google.privacy.dlp.v2.HybridInspectDlpJobRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HybridInspectDlpJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HybridInspectDlpJobRequest.Builder
Overrides

build()

public HybridInspectDlpJobRequest build()
Returns
Type Description
HybridInspectDlpJobRequest

buildPartial()

public HybridInspectDlpJobRequest buildPartial()
Returns
Type Description
HybridInspectDlpJobRequest

clear()

public HybridInspectDlpJobRequest.Builder clear()
Returns
Type Description
HybridInspectDlpJobRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HybridInspectDlpJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HybridInspectDlpJobRequest.Builder
Overrides

clearHybridItem()

public HybridInspectDlpJobRequest.Builder clearHybridItem()

The item to inspect.

.google.privacy.dlp.v2.HybridContentItem hybrid_item = 3;

Returns
Type Description
HybridInspectDlpJobRequest.Builder

clearName()

public HybridInspectDlpJobRequest.Builder clearName()

Required. Resource name of the job to execute a hybrid inspect on, for example projects/dlp-test-project/dlpJob/53234423.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
HybridInspectDlpJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public HybridInspectDlpJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HybridInspectDlpJobRequest.Builder
Overrides

clone()

public HybridInspectDlpJobRequest.Builder clone()
Returns
Type Description
HybridInspectDlpJobRequest.Builder
Overrides

getDefaultInstanceForType()

public HybridInspectDlpJobRequest getDefaultInstanceForType()
Returns
Type Description
HybridInspectDlpJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHybridItem()

public HybridContentItem getHybridItem()

The item to inspect.

.google.privacy.dlp.v2.HybridContentItem hybrid_item = 3;

Returns
Type Description
HybridContentItem

The hybridItem.

getHybridItemBuilder()

public HybridContentItem.Builder getHybridItemBuilder()

The item to inspect.

.google.privacy.dlp.v2.HybridContentItem hybrid_item = 3;

Returns
Type Description
HybridContentItem.Builder

getHybridItemOrBuilder()

public HybridContentItemOrBuilder getHybridItemOrBuilder()

The item to inspect.

.google.privacy.dlp.v2.HybridContentItem hybrid_item = 3;

Returns
Type Description
HybridContentItemOrBuilder

getName()

public String getName()

Required. Resource name of the job to execute a hybrid inspect on, for example projects/dlp-test-project/dlpJob/53234423.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the job to execute a hybrid inspect on, for example projects/dlp-test-project/dlpJob/53234423.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

hasHybridItem()

public boolean hasHybridItem()

The item to inspect.

.google.privacy.dlp.v2.HybridContentItem hybrid_item = 3;

Returns
Type Description
boolean

Whether the hybridItem field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HybridInspectDlpJobRequest other)

public HybridInspectDlpJobRequest.Builder mergeFrom(HybridInspectDlpJobRequest other)
Parameter
Name Description
other HybridInspectDlpJobRequest
Returns
Type Description
HybridInspectDlpJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HybridInspectDlpJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HybridInspectDlpJobRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HybridInspectDlpJobRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HybridInspectDlpJobRequest.Builder
Overrides

mergeHybridItem(HybridContentItem value)

public HybridInspectDlpJobRequest.Builder mergeHybridItem(HybridContentItem value)

The item to inspect.

.google.privacy.dlp.v2.HybridContentItem hybrid_item = 3;

Parameter
Name Description
value HybridContentItem
Returns
Type Description
HybridInspectDlpJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HybridInspectDlpJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HybridInspectDlpJobRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HybridInspectDlpJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HybridInspectDlpJobRequest.Builder
Overrides

setHybridItem(HybridContentItem value)

public HybridInspectDlpJobRequest.Builder setHybridItem(HybridContentItem value)

The item to inspect.

.google.privacy.dlp.v2.HybridContentItem hybrid_item = 3;

Parameter
Name Description
value HybridContentItem
Returns
Type Description
HybridInspectDlpJobRequest.Builder

setHybridItem(HybridContentItem.Builder builderForValue)

public HybridInspectDlpJobRequest.Builder setHybridItem(HybridContentItem.Builder builderForValue)

The item to inspect.

.google.privacy.dlp.v2.HybridContentItem hybrid_item = 3;

Parameter
Name Description
builderForValue HybridContentItem.Builder
Returns
Type Description
HybridInspectDlpJobRequest.Builder

setName(String value)

public HybridInspectDlpJobRequest.Builder setName(String value)

Required. Resource name of the job to execute a hybrid inspect on, for example projects/dlp-test-project/dlpJob/53234423.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
HybridInspectDlpJobRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public HybridInspectDlpJobRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the job to execute a hybrid inspect on, for example projects/dlp-test-project/dlpJob/53234423.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
HybridInspectDlpJobRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HybridInspectDlpJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HybridInspectDlpJobRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HybridInspectDlpJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HybridInspectDlpJobRequest.Builder
Overrides