Class UpdateInspectTemplateRequest.Builder (3.47.0)

public static final class UpdateInspectTemplateRequest.Builder extends GeneratedMessageV3.Builder<UpdateInspectTemplateRequest.Builder> implements UpdateInspectTemplateRequestOrBuilder

Request message for UpdateInspectTemplate.

Protobuf type google.privacy.dlp.v2.UpdateInspectTemplateRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateInspectTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateInspectTemplateRequest.Builder
Overrides

build()

public UpdateInspectTemplateRequest build()
Returns
Type Description
UpdateInspectTemplateRequest

buildPartial()

public UpdateInspectTemplateRequest buildPartial()
Returns
Type Description
UpdateInspectTemplateRequest

clear()

public UpdateInspectTemplateRequest.Builder clear()
Returns
Type Description
UpdateInspectTemplateRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateInspectTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateInspectTemplateRequest.Builder
Overrides

clearInspectTemplate()

public UpdateInspectTemplateRequest.Builder clearInspectTemplate()

New InspectTemplate value.

.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;

Returns
Type Description
UpdateInspectTemplateRequest.Builder

clearName()

public UpdateInspectTemplateRequest.Builder clearName()

Required. Resource name of organization and inspectTemplate to be updated, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/432452342.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
UpdateInspectTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateInspectTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateInspectTemplateRequest.Builder
Overrides

clearUpdateMask()

public UpdateInspectTemplateRequest.Builder clearUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
UpdateInspectTemplateRequest.Builder

clone()

public UpdateInspectTemplateRequest.Builder clone()
Returns
Type Description
UpdateInspectTemplateRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateInspectTemplateRequest getDefaultInstanceForType()
Returns
Type Description
UpdateInspectTemplateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInspectTemplate()

public InspectTemplate getInspectTemplate()

New InspectTemplate value.

.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;

Returns
Type Description
InspectTemplate

The inspectTemplate.

getInspectTemplateBuilder()

public InspectTemplate.Builder getInspectTemplateBuilder()

New InspectTemplate value.

.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;

Returns
Type Description
InspectTemplate.Builder

getInspectTemplateOrBuilder()

public InspectTemplateOrBuilder getInspectTemplateOrBuilder()

New InspectTemplate value.

.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;

Returns
Type Description
InspectTemplateOrBuilder

getName()

public String getName()

Required. Resource name of organization and inspectTemplate to be updated, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/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 inspectTemplate to be updated, for example organizations/433245324/inspectTemplates/432452342 or projects/project-id/inspectTemplates/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

hasInspectTemplate()

public boolean hasInspectTemplate()

New InspectTemplate value.

.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;

Returns
Type Description
boolean

Whether the inspectTemplate field is set.

hasUpdateMask()