public static final class UpdateDeidentifyTemplateRequest.Builder extends GeneratedMessage.Builder<UpdateDeidentifyTemplateRequest.Builder> implements UpdateDeidentifyTemplateRequestOrBuilderRequest message for UpdateDeidentifyTemplate.
Protobuf type google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateDeidentifyTemplateRequest.BuilderImplements
UpdateDeidentifyTemplateRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateDeidentifyTemplateRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest |
|
buildPartial()
public UpdateDeidentifyTemplateRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest |
|
clear()
public UpdateDeidentifyTemplateRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
|
clearDeidentifyTemplate()
public UpdateDeidentifyTemplateRequest.Builder clearDeidentifyTemplate()New DeidentifyTemplate value.
.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
|
clearName()
public UpdateDeidentifyTemplateRequest.Builder clearName() Required. Resource name of organization and deidentify template to be
updated, for example
organizations/433245324/deidentifyTemplates/432452342 or
projects/project-id/deidentifyTemplates/432452342.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
This builder for chaining. |
clearUpdateMask()
public UpdateDeidentifyTemplateRequest.Builder clearUpdateMask()Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
|
getDefaultInstanceForType()
public UpdateDeidentifyTemplateRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest |
|
getDeidentifyTemplate()
public DeidentifyTemplate getDeidentifyTemplate()New DeidentifyTemplate value.
.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
| Returns | |
|---|---|
| Type | Description |
DeidentifyTemplate |
The deidentifyTemplate. |
getDeidentifyTemplateBuilder()
public DeidentifyTemplate.Builder getDeidentifyTemplateBuilder()New DeidentifyTemplate value.
.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
| Returns | |
|---|---|
| Type | Description |
DeidentifyTemplate.Builder |
|
getDeidentifyTemplateOrBuilder()
public DeidentifyTemplateOrBuilder getDeidentifyTemplateOrBuilder()New DeidentifyTemplate value.
.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
| Returns | |
|---|---|
| Type | Description |
DeidentifyTemplateOrBuilder |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. Resource name of organization and deidentify template to be
updated, for example
organizations/433245324/deidentifyTemplates/432452342 or
projects/project-id/deidentifyTemplates/432452342.
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 organization and deidentify template to be
updated, for example
organizations/433245324/deidentifyTemplates/432452342 or
projects/project-id/deidentifyTemplates/432452342.
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;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasDeidentifyTemplate()
public boolean hasDeidentifyTemplate()New DeidentifyTemplate value.
.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deidentifyTemplate 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDeidentifyTemplate(DeidentifyTemplate value)
public UpdateDeidentifyTemplateRequest.Builder mergeDeidentifyTemplate(DeidentifyTemplate value)New DeidentifyTemplate value.
.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DeidentifyTemplate |
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
|
mergeFrom(UpdateDeidentifyTemplateRequest other)
public UpdateDeidentifyTemplateRequest.Builder mergeFrom(UpdateDeidentifyTemplateRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateDeidentifyTemplateRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateDeidentifyTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateDeidentifyTemplateRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateDeidentifyTemplateRequest.Builder mergeUpdateMask(FieldMask value)Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
|
setDeidentifyTemplate(DeidentifyTemplate value)
public UpdateDeidentifyTemplateRequest.Builder setDeidentifyTemplate(DeidentifyTemplate value)New DeidentifyTemplate value.
.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DeidentifyTemplate |
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
|
setDeidentifyTemplate(DeidentifyTemplate.Builder builderForValue)
public UpdateDeidentifyTemplateRequest.Builder setDeidentifyTemplate(DeidentifyTemplate.Builder builderForValue)New DeidentifyTemplate value.
.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DeidentifyTemplate.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
|
setName(String value)
public UpdateDeidentifyTemplateRequest.Builder setName(String value) Required. Resource name of organization and deidentify template to be
updated, for example
organizations/433245324/deidentifyTemplates/432452342 or
projects/project-id/deidentifyTemplates/432452342.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public UpdateDeidentifyTemplateRequest.Builder setNameBytes(ByteString value) Required. Resource name of organization and deidentify template to be
updated, for example
organizations/433245324/deidentifyTemplates/432452342 or
projects/project-id/deidentifyTemplates/432452342.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
This builder for chaining. |
setUpdateMask(FieldMask value)
public UpdateDeidentifyTemplateRequest.Builder setUpdateMask(FieldMask value)Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateDeidentifyTemplateRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateDeidentifyTemplateRequest.Builder |
|