Class UpdateJobTriggerRequest.Builder (3.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateJobTriggerRequest build()
Returns
TypeDescription
UpdateJobTriggerRequest

buildPartial()

public UpdateJobTriggerRequest buildPartial()
Returns
TypeDescription
UpdateJobTriggerRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearJobTrigger()

public UpdateJobTriggerRequest.Builder clearJobTrigger()

New JobTrigger value.

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

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateJobTriggerRequest.Builder clearUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
UpdateJobTriggerRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateJobTriggerRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateJobTriggerRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getJobTrigger()

public JobTrigger getJobTrigger()

New JobTrigger value.

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

Returns
TypeDescription
JobTrigger

The jobTrigger.

getJobTriggerBuilder()

public JobTrigger.Builder getJobTriggerBuilder()

New JobTrigger value.

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

Returns
TypeDescription
JobTrigger.Builder

getJobTriggerOrBuilder()

public JobTriggerOrBuilder getJobTriggerOrBuilder()

New JobTrigger value.

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

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

The bytes for name.

getUpdateMask()

public FieldMask getUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMaskOrBuilder

hasJobTrigger()

public boolean hasJobTrigger()

New JobTrigger value.

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

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

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateJobTriggerRequest other)

public UpdateJobTriggerRequest.Builder mergeFrom(UpdateJobTriggerRequest other)
Parameter
NameDescription
otherUpdateJobTriggerRequest
Returns
TypeDescription
UpdateJobTriggerRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateJobTriggerRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateJobTriggerRequest.Builder
Overrides

mergeJobTrigger(JobTrigger value)

public UpdateJobTriggerRequest.Builder mergeJobTrigger(JobTrigger value)

New JobTrigger value.

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

Parameter
NameDescription
valueJobTrigger
Returns
TypeDescription
UpdateJobTriggerRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateJobTriggerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateJobTriggerRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobTrigger(JobTrigger value)

public UpdateJobTriggerRequest.Builder setJobTrigger(JobTrigger value)

New JobTrigger value.

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

Parameter
NameDescription
valueJobTrigger
Returns
TypeDescription
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
NameDescription
builderForValueJobTrigger.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateJobTriggerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateJobTriggerRequest.Builder