- 3.56.0 (latest)
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class CreateJobTriggerRequest.Builder extends GeneratedMessageV3.Builder<CreateJobTriggerRequest.Builder> implements CreateJobTriggerRequestOrBuilder
Request message for CreateJobTrigger.
Protobuf type google.privacy.dlp.v2.CreateJobTriggerRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateJobTriggerRequest.BuilderImplements
CreateJobTriggerRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateJobTriggerRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
build()
public CreateJobTriggerRequest build()
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest |
buildPartial()
public CreateJobTriggerRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest |
clear()
public CreateJobTriggerRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateJobTriggerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
clearJobTrigger()
public CreateJobTriggerRequest.Builder clearJobTrigger()
Required. The JobTrigger to create.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
clearLocationId()
public CreateJobTriggerRequest.Builder clearLocationId()
Deprecated. This field has no effect.
string location_id = 4;
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateJobTriggerRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
clearParent()
public CreateJobTriggerRequest.Builder clearParent()
Required. Parent resource name.
The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
Projects scope, no location specified (defaults to global):
projects/{project_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
This builder for chaining. |
clearTriggerId()
public CreateJobTriggerRequest.Builder clearTriggerId()
The trigger id can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: [a-zA-Z\d-_]+
. The maximum length is 100
characters. Can be empty to allow the system to generate one.
string trigger_id = 3;
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
This builder for chaining. |
clone()
public CreateJobTriggerRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
getDefaultInstanceForType()
public CreateJobTriggerRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getJobTrigger()
public JobTrigger getJobTrigger()
Required. The JobTrigger to create.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
JobTrigger |
The jobTrigger. |
getJobTriggerBuilder()
public JobTrigger.Builder getJobTriggerBuilder()
Required. The JobTrigger to create.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
getJobTriggerOrBuilder()
public JobTriggerOrBuilder getJobTriggerOrBuilder()
Required. The JobTrigger to create.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
JobTriggerOrBuilder |
getLocationId()
public String getLocationId()
Deprecated. This field has no effect.
string location_id = 4;
Returns | |
---|---|
Type | Description |
String |
The locationId. |
getLocationIdBytes()
public ByteString getLocationIdBytes()
Deprecated. This field has no effect.
string location_id = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for locationId. |
getParent()
public String getParent()
Required. Parent resource name.
The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
Projects scope, no location specified (defaults to global):
projects/{project_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. Parent resource name.
The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
Projects scope, no location specified (defaults to global):
projects/{project_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getTriggerId()
public String getTriggerId()
The trigger id can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: [a-zA-Z\d-_]+
. The maximum length is 100
characters. Can be empty to allow the system to generate one.
string trigger_id = 3;
Returns | |
---|---|
Type | Description |
String |
The triggerId. |
getTriggerIdBytes()
public ByteString getTriggerIdBytes()
The trigger id can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: [a-zA-Z\d-_]+
. The maximum length is 100
characters. Can be empty to allow the system to generate one.
string trigger_id = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for triggerId. |
hasJobTrigger()
public boolean hasJobTrigger()
Required. The JobTrigger to create.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the jobTrigger field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CreateJobTriggerRequest other)
public CreateJobTriggerRequest.Builder mergeFrom(CreateJobTriggerRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateJobTriggerRequest |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateJobTriggerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateJobTriggerRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
mergeJobTrigger(JobTrigger value)
public CreateJobTriggerRequest.Builder mergeJobTrigger(JobTrigger value)
Required. The JobTrigger to create.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
JobTrigger |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateJobTriggerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateJobTriggerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
setJobTrigger(JobTrigger value)
public CreateJobTriggerRequest.Builder setJobTrigger(JobTrigger value)
Required. The JobTrigger to create.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
JobTrigger |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
setJobTrigger(JobTrigger.Builder builderForValue)
public CreateJobTriggerRequest.Builder setJobTrigger(JobTrigger.Builder builderForValue)
Required. The JobTrigger to create.
.google.privacy.dlp.v2.JobTrigger job_trigger = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
JobTrigger.Builder |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
setLocationId(String value)
public CreateJobTriggerRequest.Builder setLocationId(String value)
Deprecated. This field has no effect.
string location_id = 4;
Parameter | |
---|---|
Name | Description |
value |
String The locationId to set. |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
This builder for chaining. |
setLocationIdBytes(ByteString value)
public CreateJobTriggerRequest.Builder setLocationIdBytes(ByteString value)
Deprecated. This field has no effect.
string location_id = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for locationId to set. |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateJobTriggerRequest.Builder setParent(String value)
Required. Parent resource name.
The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
Projects scope, no location specified (defaults to global):
projects/{project_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateJobTriggerRequest.Builder setParentBytes(ByteString value)
Required. Parent resource name.
The format of this value varies depending on whether you have specified a processing location:
- Projects scope, location specified:
projects/{project_id}/locations/{location_id}
Projects scope, no location specified (defaults to global):
projects/{project_id}
The following example
parent
string specifies a parent project with the identifierexample-project
, and specifies theeurope-west3
location for processing data:parent=projects/example-project/locations/europe-west3
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateJobTriggerRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
setTriggerId(String value)
public CreateJobTriggerRequest.Builder setTriggerId(String value)
The trigger id can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: [a-zA-Z\d-_]+
. The maximum length is 100
characters. Can be empty to allow the system to generate one.
string trigger_id = 3;
Parameter | |
---|---|
Name | Description |
value |
String The triggerId to set. |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
This builder for chaining. |
setTriggerIdBytes(ByteString value)
public CreateJobTriggerRequest.Builder setTriggerIdBytes(ByteString value)
The trigger id can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: [a-zA-Z\d-_]+
. The maximum length is 100
characters. Can be empty to allow the system to generate one.
string trigger_id = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for triggerId to set. |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateJobTriggerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateJobTriggerRequest.Builder |