Class UpdateJobTriggerRequest.Builder (3.47.0)

public static final class UpdateJobTriggerRequest.Builder extends GeneratedMessageV3.Builder<UpdateJobTriggerRequest.Builder> implements UpdateJobTriggerRequestOrBuilder

Request message for UpdateJobTrigger.

Protobuf type google.privacy.dlp.v2.UpdateJobTriggerRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateJobTriggerRequest build()
Returns
Type Description
UpdateJobTriggerRequest

buildPartial()

public UpdateJobTriggerRequest buildPartial()
Returns
Type Description
UpdateJobTriggerRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobTrigger()

public UpdateJobTriggerRequest.Builder clearJobTrigger()

New JobTrigger value.

.google.privacy.dlp.v2.JobTrigger job_trigger = 2;

Returns
Type Description
UpdateJobTriggerRequest.Builder

clearName()

public UpdateJobTriggerRequest.Builder clearName()

Required. Resource name of the project and the triggeredJob, for example projects/dlp-test-project/jobTriggers/53234423.

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

Returns
Type Description
UpdateJobTriggerRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateJobTriggerRequest.Builder clearUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
UpdateJobTriggerRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateJobTriggerRequest getDefaultInstanceForType()
Returns
Type Description
UpdateJobTriggerRequest

getDescriptorForType()

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

getJobTrigger()

public JobTrigger getJobTrigger()

New JobTrigger value.

.google.privacy.dlp.v2.JobTrigger job_trigger = 2;

Returns
Type Description
JobTrigger

The jobTrigger.

getJobTriggerBuilder()

public JobTrigger.Builder getJobTriggerBuilder()

New JobTrigger value.

.google.privacy.dlp.v2.JobTrigger job_trigger = 2;

Returns
Type Description
JobTrigger.Builder

getJobTriggerOrBuilder()

public JobTriggerOrBuilder getJobTriggerOrBuilder()

New JobTrigger value.

.google.privacy.dlp.v2.JobTrigger job_trigger = 2;

Returns
Type Description
JobTriggerOrBuilder

getName()

public String getName()

Required. Resource name of the project and the triggeredJob, 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 project and the triggeredJob, 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.

getUpdateMask()

public FieldMask getUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMaskOrBuilder

hasJobTrigger()

public boolean hasJobTrigger()

New JobTrigger value.

.google.privacy.dlp.v2.JobTrigger job_trigger = 2;

Returns
Type Description
boolean

Whether the jobTrigger field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns