Class UpdateInspectTemplateRequest.Builder (3.6.3)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateInspectTemplateRequest build()
Returns
TypeDescription
UpdateInspectTemplateRequest

buildPartial()

public UpdateInspectTemplateRequest buildPartial()
Returns
TypeDescription
UpdateInspectTemplateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInspectTemplate()

public UpdateInspectTemplateRequest.Builder clearInspectTemplate()

New InspectTemplate value.

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

Returns
TypeDescription
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
TypeDescription
UpdateInspectTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateInspectTemplateRequest.Builder clearUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
UpdateInspectTemplateRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateInspectTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateInspectTemplateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInspectTemplate()

public InspectTemplate getInspectTemplate()

New InspectTemplate value.

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

Returns
TypeDescription
InspectTemplate

The inspectTemplate.

getInspectTemplateBuilder()

public InspectTemplate.Builder getInspectTemplateBuilder()

New InspectTemplate value.

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

Returns
TypeDescription
InspectTemplate.Builder

getInspectTemplateOrBuilder()

public InspectTemplateOrBuilder getInspectTemplateOrBuilder()

New InspectTemplate value.

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

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

hasInspectTemplate()

public boolean hasInspectTemplate()

New InspectTemplate value.

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

Returns
TypeDescription
boolean

Whether the inspectTemplate 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

mergeFrom(UpdateInspectTemplateRequest other)

public UpdateInspectTemplateRequest.Builder mergeFrom(UpdateInspectTemplateRequest other)
Parameter
NameDescription
otherUpdateInspectTemplateRequest
Returns
TypeDescription
UpdateInspectTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInspectTemplate(InspectTemplate value)

public UpdateInspectTemplateRequest.Builder mergeInspectTemplate(InspectTemplate value)

New InspectTemplate value.

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

Parameter
NameDescription
valueInspectTemplate
Returns
TypeDescription
UpdateInspectTemplateRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateInspectTemplateRequest.Builder mergeUpdateMask(FieldMask value)

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateInspectTemplateRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInspectTemplate(InspectTemplate value)

public UpdateInspectTemplateRequest.Builder setInspectTemplate(InspectTemplate value)

New InspectTemplate value.

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

Parameter
NameDescription
valueInspectTemplate
Returns
TypeDescription
UpdateInspectTemplateRequest.Builder

setInspectTemplate(InspectTemplate.Builder builderForValue)

public UpdateInspectTemplateRequest.Builder setInspectTemplate(InspectTemplate.Builder builderForValue)

New InspectTemplate value.

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

Parameter
NameDescription
builderForValueInspectTemplate.Builder
Returns
TypeDescription
UpdateInspectTemplateRequest.Builder

setName(String value)

public UpdateInspectTemplateRequest.Builder setName(String value)

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) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
UpdateInspectTemplateRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateInspectTemplateRequest.Builder setNameBytes(ByteString value)

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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
UpdateInspectTemplateRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateInspectTemplateRequest.Builder setUpdateMask(FieldMask value)

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateInspectTemplateRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateInspectTemplateRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateInspectTemplateRequest.Builder