Class HybridInspectJobTriggerRequest.Builder (3.46.0)

public static final class HybridInspectJobTriggerRequest.Builder extends GeneratedMessageV3.Builder<HybridInspectJobTriggerRequest.Builder> implements HybridInspectJobTriggerRequestOrBuilder

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

Protobuf type google.privacy.dlp.v2.HybridInspectJobTriggerRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HybridInspectJobTriggerRequest build()
Returns
Type Description
HybridInspectJobTriggerRequest

buildPartial()

public HybridInspectJobTriggerRequest buildPartial()
Returns
Type Description
HybridInspectJobTriggerRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHybridItem()

public HybridInspectJobTriggerRequest.Builder clearHybridItem()

The item to inspect.

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

Returns
Type Description
HybridInspectJobTriggerRequest.Builder

clearName()

public HybridInspectJobTriggerRequest.Builder clearName()

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

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

Returns
Type Description
HybridInspectJobTriggerRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public HybridInspectJobTriggerRequest getDefaultInstanceForType()
Returns
Type Description
HybridInspectJobTriggerRequest

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 trigger to execute a hybrid inspect on, for example projects/dlp-test-project/jobTriggers/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 trigger to execute a hybrid inspect on, for example projects/dlp-test-project/jobTriggers/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(HybridInspectJobTriggerRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeHybridItem(HybridContentItem value)

public HybridInspectJobTriggerRequest.Builder mergeHybridItem(HybridContentItem value)

The item to inspect.

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

Parameter
Name Description
value HybridContentItem
Returns
Type Description
HybridInspectJobTriggerRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHybridItem(HybridContentItem value)

public HybridInspectJobTriggerRequest.Builder setHybridItem(HybridContentItem value)

The item to inspect.

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

Parameter
Name Description
value HybridContentItem
Returns
Type Description
HybridInspectJobTriggerRequest.Builder

setHybridItem(HybridContentItem.Builder builderForValue)

public HybridInspectJobTriggerRequest.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
HybridInspectJobTriggerRequest.Builder

setName(String value)

public HybridInspectJobTriggerRequest.Builder setName(String value)

Required. Resource name of the trigger to execute a hybrid inspect on, for example projects/dlp-test-project/jobTriggers/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
HybridInspectJobTriggerRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public HybridInspectJobTriggerRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the trigger to execute a hybrid inspect on, for example projects/dlp-test-project/jobTriggers/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
HybridInspectJobTriggerRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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