Class HybridInspectJobTriggerRequest.Builder (3.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HybridInspectJobTriggerRequest build()
Returns
TypeDescription
HybridInspectJobTriggerRequest

buildPartial()

public HybridInspectJobTriggerRequest buildPartial()
Returns
TypeDescription
HybridInspectJobTriggerRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHybridItem()

public HybridInspectJobTriggerRequest.Builder clearHybridItem()

The item to inspect.

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

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public HybridInspectJobTriggerRequest getDefaultInstanceForType()
Returns
TypeDescription
HybridInspectJobTriggerRequest

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 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
TypeDescription
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
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(HybridInspectJobTriggerRequest other)

public HybridInspectJobTriggerRequest.Builder mergeFrom(HybridInspectJobTriggerRequest other)
Parameter
NameDescription
otherHybridInspectJobTriggerRequest
Returns
TypeDescription
HybridInspectJobTriggerRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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