- 3.58.0 (latest)
- 3.57.0
- 3.56.0
- 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 CreateDiscoveryConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateDiscoveryConfigRequest.Builder> implements CreateDiscoveryConfigRequestOrBuilder
Request message for CreateDiscoveryConfig.
Protobuf type google.privacy.dlp.v2.CreateDiscoveryConfigRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateDiscoveryConfigRequest.BuilderImplements
CreateDiscoveryConfigRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateDiscoveryConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
build()
public CreateDiscoveryConfigRequest build()
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest |
buildPartial()
public CreateDiscoveryConfigRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest |
clear()
public CreateDiscoveryConfigRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
clearConfigId()
public CreateDiscoveryConfigRequest.Builder clearConfigId()
The config 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 config_id = 3;
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
This builder for chaining. |
clearDiscoveryConfig()
public CreateDiscoveryConfigRequest.Builder clearDiscoveryConfig()
Required. The DiscoveryConfig to create.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateDiscoveryConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDiscoveryConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
clearParent()
public CreateDiscoveryConfigRequest.Builder clearParent()
Required. Parent resource name.
The format of this value is as follows:
projects/
<var>PROJECT_ID</var>/locations/
<var>LOCATION_ID</var>
The following example parent
string specifies a parent project with the
identifier example-project
, and specifies the europe-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 |
CreateDiscoveryConfigRequest.Builder |
This builder for chaining. |
clone()
public CreateDiscoveryConfigRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
getConfigId()
public String getConfigId()
The config 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 config_id = 3;
Returns | |
---|---|
Type | Description |
String |
The configId. |
getConfigIdBytes()
public ByteString getConfigIdBytes()
The config 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 config_id = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for configId. |
getDefaultInstanceForType()
public CreateDiscoveryConfigRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDiscoveryConfig()
public DiscoveryConfig getDiscoveryConfig()
Required. The DiscoveryConfig to create.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DiscoveryConfig |
The discoveryConfig. |
getDiscoveryConfigBuilder()
public DiscoveryConfig.Builder getDiscoveryConfigBuilder()
Required. The DiscoveryConfig to create.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DiscoveryConfig.Builder |
getDiscoveryConfigOrBuilder()
public DiscoveryConfigOrBuilder getDiscoveryConfigOrBuilder()
Required. The DiscoveryConfig to create.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DiscoveryConfigOrBuilder |
getParent()
public String getParent()
Required. Parent resource name.
The format of this value is as follows:
projects/
<var>PROJECT_ID</var>/locations/
<var>LOCATION_ID</var>
The following example parent
string specifies a parent project with the
identifier example-project
, and specifies the europe-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 is as follows:
projects/
<var>PROJECT_ID</var>/locations/
<var>LOCATION_ID</var>
The following example parent
string specifies a parent project with the
identifier example-project
, and specifies the europe-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. |
hasDiscoveryConfig()
public boolean hasDiscoveryConfig()
Required. The DiscoveryConfig to create.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the discoveryConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDiscoveryConfig(DiscoveryConfig value)
public CreateDiscoveryConfigRequest.Builder mergeDiscoveryConfig(DiscoveryConfig value)
Required. The DiscoveryConfig to create.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
DiscoveryConfig |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
mergeFrom(CreateDiscoveryConfigRequest other)
public CreateDiscoveryConfigRequest.Builder mergeFrom(CreateDiscoveryConfigRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateDiscoveryConfigRequest |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateDiscoveryConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateDiscoveryConfigRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDiscoveryConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
setConfigId(String value)
public CreateDiscoveryConfigRequest.Builder setConfigId(String value)
The config 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 config_id = 3;
Parameter | |
---|---|
Name | Description |
value |
String The configId to set. |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
This builder for chaining. |
setConfigIdBytes(ByteString value)
public CreateDiscoveryConfigRequest.Builder setConfigIdBytes(ByteString value)
The config 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 config_id = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for configId to set. |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
This builder for chaining. |
setDiscoveryConfig(DiscoveryConfig value)
public CreateDiscoveryConfigRequest.Builder setDiscoveryConfig(DiscoveryConfig value)
Required. The DiscoveryConfig to create.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
DiscoveryConfig |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
setDiscoveryConfig(DiscoveryConfig.Builder builderForValue)
public CreateDiscoveryConfigRequest.Builder setDiscoveryConfig(DiscoveryConfig.Builder builderForValue)
Required. The DiscoveryConfig to create.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
DiscoveryConfig.Builder |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDiscoveryConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
setParent(String value)
public CreateDiscoveryConfigRequest.Builder setParent(String value)
Required. Parent resource name.
The format of this value is as follows:
projects/
<var>PROJECT_ID</var>/locations/
<var>LOCATION_ID</var>
The following example parent
string specifies a parent project with the
identifier example-project
, and specifies the europe-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 |
CreateDiscoveryConfigRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateDiscoveryConfigRequest.Builder setParentBytes(ByteString value)
Required. Parent resource name.
The format of this value is as follows:
projects/
<var>PROJECT_ID</var>/locations/
<var>LOCATION_ID</var>
The following example parent
string specifies a parent project with the
identifier example-project
, and specifies the europe-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 |
CreateDiscoveryConfigRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDiscoveryConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDiscoveryConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateDiscoveryConfigRequest.Builder |