public static final class UpdateDiscoveryConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateDiscoveryConfigRequest.Builder> implements UpdateDiscoveryConfigRequestOrBuilder
Request message for UpdateDiscoveryConfig.
Protobuf type google.privacy.dlp.v2.UpdateDiscoveryConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateDiscoveryConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateDiscoveryConfigRequest build()
buildPartial()
public UpdateDiscoveryConfigRequest buildPartial()
clear()
public UpdateDiscoveryConfigRequest.Builder clear()
Overrides
clearDiscoveryConfig()
public UpdateDiscoveryConfigRequest.Builder clearDiscoveryConfig()
Required. New DiscoveryConfig value.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateDiscoveryConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public UpdateDiscoveryConfigRequest.Builder clearName()
Required. Resource name of the project and the configuration, for example
projects/dlp-test-project/discoveryConfigs/53234423
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDiscoveryConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateDiscoveryConfigRequest.Builder clearUpdateMask()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
clone()
public UpdateDiscoveryConfigRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateDiscoveryConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDiscoveryConfig()
public DiscoveryConfig getDiscoveryConfig()
Required. New DiscoveryConfig value.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
getDiscoveryConfigBuilder()
public DiscoveryConfig.Builder getDiscoveryConfigBuilder()
Required. New DiscoveryConfig value.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
getDiscoveryConfigOrBuilder()
public DiscoveryConfigOrBuilder getDiscoveryConfigOrBuilder()
Required. New DiscoveryConfig value.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
getName()
Required. Resource name of the project and the configuration, for example
projects/dlp-test-project/discoveryConfigs/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 configuration, for example
projects/dlp-test-project/discoveryConfigs/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;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
hasDiscoveryConfig()
public boolean hasDiscoveryConfig()
Required. New DiscoveryConfig value.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the discoveryConfig 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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDiscoveryConfig(DiscoveryConfig value)
public UpdateDiscoveryConfigRequest.Builder mergeDiscoveryConfig(DiscoveryConfig value)
Required. New DiscoveryConfig value.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(UpdateDiscoveryConfigRequest other)
public UpdateDiscoveryConfigRequest.Builder mergeFrom(UpdateDiscoveryConfigRequest other)
public UpdateDiscoveryConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateDiscoveryConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDiscoveryConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateDiscoveryConfigRequest.Builder mergeUpdateMask(FieldMask value)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
setDiscoveryConfig(DiscoveryConfig value)
public UpdateDiscoveryConfigRequest.Builder setDiscoveryConfig(DiscoveryConfig value)
Required. New DiscoveryConfig value.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
setDiscoveryConfig(DiscoveryConfig.Builder builderForValue)
public UpdateDiscoveryConfigRequest.Builder setDiscoveryConfig(DiscoveryConfig.Builder builderForValue)
Required. New DiscoveryConfig value.
.google.privacy.dlp.v2.DiscoveryConfig discovery_config = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDiscoveryConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public UpdateDiscoveryConfigRequest.Builder setName(String value)
Required. Resource name of the project and the configuration, for example
projects/dlp-test-project/discoveryConfigs/53234423
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The name to set.
|
setNameBytes(ByteString value)
public UpdateDiscoveryConfigRequest.Builder setNameBytes(ByteString value)
Required. Resource name of the project and the configuration, for example
projects/dlp-test-project/discoveryConfigs/53234423
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDiscoveryConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDiscoveryConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateDiscoveryConfigRequest.Builder setUpdateMask(FieldMask value)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateDiscoveryConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter |
---|
Name | Description |
builderForValue | Builder
|