Class UpdateJobTriggerRequest.Builder (3.49.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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateJobTriggerRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeJobTrigger(JobTrigger value)

public UpdateJobTriggerRequest.Builder mergeJobTrigger(JobTrigger value)

New JobTrigger value.

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

Parameter
Name Description
value JobTrigger
Returns
Type Description
UpdateJobTriggerRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateJobTriggerRequest.Builder mergeUpdateMask(FieldMask value)

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateJobTriggerRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobTrigger(JobTrigger value)

public UpdateJobTriggerRequest.Builder setJobTrigger(JobTrigger value)

New JobTrigger value.

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

Parameter
Name Description
value JobTrigger
Returns
Type Description
UpdateJobTriggerRequest.Builder

setJobTrigger(JobTrigger.Builder builderForValue)

public UpdateJobTriggerRequest.Builder setJobTrigger(JobTrigger.Builder builderForValue)

New JobTrigger value.

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

Parameter
Name Description
builderForValue JobTrigger.Builder
Returns
Type Description
UpdateJobTriggerRequest.Builder

setName(String value)

public UpdateJobTriggerRequest.Builder setName(String value)

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) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
UpdateJobTriggerRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateJobTriggerRequest.Builder setNameBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
UpdateJobTriggerRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateJobTriggerRequest.Builder setUpdateMask(FieldMask value)

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateJobTriggerRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateJobTriggerRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateJobTriggerRequest.Builder