public static final class UpdateInspectTemplateRequest.Builder extends GeneratedMessageV3.Builder<UpdateInspectTemplateRequest.Builder> implements UpdateInspectTemplateRequestOrBuilder
Request message for UpdateInspectTemplate.
Protobuf type google.privacy.dlp.v2.UpdateInspectTemplateRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateInspectTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateInspectTemplateRequest build()
buildPartial()
public UpdateInspectTemplateRequest buildPartial()
clear()
public UpdateInspectTemplateRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateInspectTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInspectTemplate()
public UpdateInspectTemplateRequest.Builder clearInspectTemplate()
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateInspectTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateInspectTemplateRequest.Builder clearUpdateMask()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
clone()
public UpdateInspectTemplateRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateInspectTemplateRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInspectTemplate()
public InspectTemplate getInspectTemplate()
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
getInspectTemplateBuilder()
public InspectTemplate.Builder getInspectTemplateBuilder()
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
getInspectTemplateOrBuilder()
public InspectTemplateOrBuilder getInspectTemplateOrBuilder()
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
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;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateInspectTemplateRequest other)
public UpdateInspectTemplateRequest.Builder mergeFrom(UpdateInspectTemplateRequest other)
public UpdateInspectTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateInspectTemplateRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeInspectTemplate(InspectTemplate value)
public UpdateInspectTemplateRequest.Builder mergeInspectTemplate(InspectTemplate value)
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInspectTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateInspectTemplateRequest.Builder mergeUpdateMask(FieldMask value)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateInspectTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInspectTemplate(InspectTemplate value)
public UpdateInspectTemplateRequest.Builder setInspectTemplate(InspectTemplate value)
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
setInspectTemplate(InspectTemplate.Builder builderForValue)
public UpdateInspectTemplateRequest.Builder setInspectTemplate(InspectTemplate.Builder builderForValue)
New InspectTemplate value.
.google.privacy.dlp.v2.InspectTemplate inspect_template = 2;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateInspectTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInspectTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateInspectTemplateRequest.Builder setUpdateMask(FieldMask value)
Mask to control which fields get updated.
.google.protobuf.FieldMask update_mask = 3;
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
|