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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateJobTriggerRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateJobTriggerRequest build()
Returns
buildPartial()
public UpdateJobTriggerRequest buildPartial()
Returns
clear()
public UpdateJobTriggerRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateJobTriggerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearJobTrigger()
public UpdateJobTriggerRequest.Builder clearJobTrigger()
New JobTrigger value.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2;
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateJobTriggerRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateJobTriggerRequest.Builder clearUpdateMask()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
clone()
public UpdateJobTriggerRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateJobTriggerRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getJobTrigger()
public JobTrigger getJobTrigger()
New JobTrigger value.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2;
Returns
getJobTriggerBuilder()
public JobTrigger.Builder getJobTriggerBuilder()
New JobTrigger value.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2;
Returns
getJobTriggerOrBuilder()
public JobTriggerOrBuilder getJobTriggerOrBuilder()
New JobTrigger value.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2;
Returns
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
getUpdateMask()
public FieldMask getUpdateMask()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateJobTriggerRequest other)
public UpdateJobTriggerRequest.Builder mergeFrom(UpdateJobTriggerRequest other)
Parameter
Returns
public UpdateJobTriggerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateJobTriggerRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeJobTrigger(JobTrigger value)
public UpdateJobTriggerRequest.Builder mergeJobTrigger(JobTrigger value)
New JobTrigger value.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateJobTriggerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateJobTriggerRequest.Builder mergeUpdateMask(FieldMask value)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateJobTriggerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setJobTrigger(JobTrigger value)
public UpdateJobTriggerRequest.Builder setJobTrigger(JobTrigger value)
New JobTrigger value.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2;
Parameter
Returns
setJobTrigger(JobTrigger.Builder builderForValue)
public UpdateJobTriggerRequest.Builder setJobTrigger(JobTrigger.Builder builderForValue)
New JobTrigger value.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2;
Parameter
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateJobTriggerRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateJobTriggerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateJobTriggerRequest.Builder setUpdateMask(FieldMask value)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
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