Class UpdateDeidentifyTemplateRequest.Builder (3.23.0)

public static final class UpdateDeidentifyTemplateRequest.Builder extends GeneratedMessageV3.Builder<UpdateDeidentifyTemplateRequest.Builder> implements UpdateDeidentifyTemplateRequestOrBuilder

Request message for UpdateDeidentifyTemplate.

Protobuf type google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDeidentifyTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder
Overrides

build()

public UpdateDeidentifyTemplateRequest build()
Returns
TypeDescription
UpdateDeidentifyTemplateRequest

buildPartial()

public UpdateDeidentifyTemplateRequest buildPartial()
Returns
TypeDescription
UpdateDeidentifyTemplateRequest

clear()

public UpdateDeidentifyTemplateRequest.Builder clear()
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder
Overrides

clearDeidentifyTemplate()

public UpdateDeidentifyTemplateRequest.Builder clearDeidentifyTemplate()

New DeidentifyTemplate value.

.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;

Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDeidentifyTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder
Overrides

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
TypeDescription
UpdateDeidentifyTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDeidentifyTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder
Overrides

clearUpdateMask()

public UpdateDeidentifyTemplateRequest.Builder clearUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder

clone()

public UpdateDeidentifyTemplateRequest.Builder clone()
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateDeidentifyTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDeidentifyTemplateRequest

getDeidentifyTemplate()

public DeidentifyTemplate getDeidentifyTemplate()

New DeidentifyTemplate value.

.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;

Returns
TypeDescription
DeidentifyTemplate

The deidentifyTemplate.

getDeidentifyTemplateBuilder()

public DeidentifyTemplate.Builder getDeidentifyTemplateBuilder()

New DeidentifyTemplate value.

.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;

Returns
TypeDescription
DeidentifyTemplate.Builder

getDeidentifyTemplateOrBuilder()

public DeidentifyTemplateOrBuilder getDeidentifyTemplateOrBuilder()

New DeidentifyTemplate value.

.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;

Returns
TypeDescription
DeidentifyTemplateOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getUpdateMask()

public FieldMask getUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMaskOrBuilder

hasDeidentifyTemplate()

public boolean hasDeidentifyTemplate()

New DeidentifyTemplate value.

.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDeidentifyTemplate(DeidentifyTemplate value)

public UpdateDeidentifyTemplateRequest.Builder mergeDeidentifyTemplate(DeidentifyTemplate value)

New DeidentifyTemplate value.

.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;

Parameter
NameDescription
valueDeidentifyTemplate
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder

mergeFrom(UpdateDeidentifyTemplateRequest other)

public UpdateDeidentifyTemplateRequest.Builder mergeFrom(UpdateDeidentifyTemplateRequest other)
Parameter
NameDescription
otherUpdateDeidentifyTemplateRequest
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDeidentifyTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateDeidentifyTemplateRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDeidentifyTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateDeidentifyTemplateRequest.Builder mergeUpdateMask(FieldMask value)

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder

setDeidentifyTemplate(DeidentifyTemplate value)

public UpdateDeidentifyTemplateRequest.Builder setDeidentifyTemplate(DeidentifyTemplate value)

New DeidentifyTemplate value.

.google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;

Parameter
NameDescription
valueDeidentifyTemplate
Returns
TypeDescription
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
NameDescription
builderForValueDeidentifyTemplate.Builder
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDeidentifyTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder
Overrides

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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateDeidentifyTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDeidentifyTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateDeidentifyTemplateRequest.Builder setUpdateMask(FieldMask value)

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateDeidentifyTemplateRequest.Builder