Class HybridInspectDlpJobRequest.Builder (3.6.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HybridInspectDlpJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HybridInspectDlpJobRequest.Builder
Overrides

build()

public HybridInspectDlpJobRequest build()
Returns
TypeDescription
HybridInspectDlpJobRequest

buildPartial()

public HybridInspectDlpJobRequest buildPartial()
Returns
TypeDescription
HybridInspectDlpJobRequest

clear()

public HybridInspectDlpJobRequest.Builder clear()
Returns
TypeDescription
HybridInspectDlpJobRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HybridInspectDlpJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
HybridInspectDlpJobRequest.Builder
Overrides

clearHybridItem()

public HybridInspectDlpJobRequest.Builder clearHybridItem()

The item to inspect.

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

Returns
TypeDescription
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
TypeDescription
HybridInspectDlpJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public HybridInspectDlpJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
HybridInspectDlpJobRequest.Builder
Overrides

clone()

public HybridInspectDlpJobRequest.Builder clone()
Returns
TypeDescription
HybridInspectDlpJobRequest.Builder
Overrides

getDefaultInstanceForType()

public HybridInspectDlpJobRequest getDefaultInstanceForType()
Returns
TypeDescription
HybridInspectDlpJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHybridItem()

public HybridContentItem getHybridItem()

The item to inspect.

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

Returns
TypeDescription
HybridContentItem

The hybridItem.

getHybridItemBuilder()

public HybridContentItem.Builder getHybridItemBuilder()

The item to inspect.

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

Returns
TypeDescription
HybridContentItem.Builder

getHybridItemOrBuilder()

public HybridContentItemOrBuilder getHybridItemOrBuilder()

The item to inspect.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

hasHybridItem()

public boolean hasHybridItem()

The item to inspect.

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

Returns
TypeDescription
boolean

Whether the hybridItem field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HybridInspectDlpJobRequest other)

public HybridInspectDlpJobRequest.Builder mergeFrom(HybridInspectDlpJobRequest other)
Parameter
NameDescription
otherHybridInspectDlpJobRequest
Returns
TypeDescription
HybridInspectDlpJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HybridInspectDlpJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HybridInspectDlpJobRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public HybridInspectDlpJobRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueHybridContentItem
Returns
TypeDescription
HybridInspectDlpJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HybridInspectDlpJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HybridInspectDlpJobRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HybridInspectDlpJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueHybridContentItem
Returns
TypeDescription
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
NameDescription
builderForValueHybridContentItem.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
HybridInspectDlpJobRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HybridInspectDlpJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HybridInspectDlpJobRequest.Builder
Overrides