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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateInspectTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateInspectTemplateRequest build()
Returns
buildPartial()
public UpdateInspectTemplateRequest buildPartial()
Returns
clear()
public UpdateInspectTemplateRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateInspectTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInspectTemplate()
public UpdateInspectTemplateRequest.Builder clearInspectTemplate()
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateInspectTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateInspectTemplateRequest.Builder clearUpdateMask()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
clone()
public UpdateInspectTemplateRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateInspectTemplateRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInspectTemplate()
public InspectTemplate getInspectTemplate()
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
Returns
getInspectTemplateBuilder()
public InspectTemplate.Builder getInspectTemplateBuilder()
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
Returns
getInspectTemplateOrBuilder()
public InspectTemplateOrBuilder getInspectTemplateOrBuilder()
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
Returns
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
getUpdateMask()
public FieldMask getUpdateMask()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Returns
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()
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateInspectTemplateRequest other)
public UpdateInspectTemplateRequest.Builder mergeFrom(UpdateInspectTemplateRequest other)
Parameter
Returns
public UpdateInspectTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateInspectTemplateRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeInspectTemplate(InspectTemplate value)
public UpdateInspectTemplateRequest.Builder mergeInspectTemplate(InspectTemplate value)
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInspectTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateInspectTemplateRequest.Builder mergeUpdateMask(FieldMask value)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateInspectTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInspectTemplate(InspectTemplate value)
public UpdateInspectTemplateRequest.Builder setInspectTemplate(InspectTemplate value)
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
Parameter
Returns
setInspectTemplate(InspectTemplate.Builder builderForValue)
public UpdateInspectTemplateRequest.Builder setInspectTemplate(InspectTemplate.Builder builderForValue)
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
Parameter
Returns
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
Name | Description |
value | String
The name to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateInspectTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInspectTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateInspectTemplateRequest.Builder setUpdateMask(FieldMask value)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
Parameter
Returns
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
Name | Description |
builderForValue | Builder
|
Returns