Class UpdateStoredInfoTypeRequest.Builder (3.57.0)

public static final class UpdateStoredInfoTypeRequest.Builder extends GeneratedMessageV3.Builder<UpdateStoredInfoTypeRequest.Builder> implements UpdateStoredInfoTypeRequestOrBuilder

Request message for UpdateStoredInfoType.

Protobuf type google.privacy.dlp.v2.UpdateStoredInfoTypeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateStoredInfoTypeRequest build()
Returns
Type Description
UpdateStoredInfoTypeRequest

buildPartial()

public UpdateStoredInfoTypeRequest buildPartial()
Returns
Type Description
UpdateStoredInfoTypeRequest

clear()

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

clearConfig()

public UpdateStoredInfoTypeRequest.Builder clearConfig()

Updated configuration for the storedInfoType. If not provided, a new version of the storedInfoType will be created with the existing configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;

Returns
Type Description
UpdateStoredInfoTypeRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public UpdateStoredInfoTypeRequest.Builder clearName()

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

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

Returns
Type Description
UpdateStoredInfoTypeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateStoredInfoTypeRequest.Builder clearUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
UpdateStoredInfoTypeRequest.Builder

clone()

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

getConfig()

public StoredInfoTypeConfig getConfig()

Updated configuration for the storedInfoType. If not provided, a new version of the storedInfoType will be created with the existing configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;

Returns
Type Description
StoredInfoTypeConfig

The config.

getConfigBuilder()

public StoredInfoTypeConfig.Builder getConfigBuilder()

Updated configuration for the storedInfoType. If not provided, a new version of the storedInfoType will be created with the existing configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;

Returns
Type Description
StoredInfoTypeConfig.Builder

getConfigOrBuilder()

public StoredInfoTypeConfigOrBuilder getConfigOrBuilder()

Updated configuration for the storedInfoType. If not provided, a new version of the storedInfoType will be created with the existing configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;

Returns
Type Description
StoredInfoTypeConfigOrBuilder

getDefaultInstanceForType()

public UpdateStoredInfoTypeRequest getDefaultInstanceForType()
Returns
Type Description
UpdateStoredInfoTypeRequest

getDescriptorForType()

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

getName()

public String getName()

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

hasConfig()

public boolean hasConfig()

Updated configuration for the storedInfoType. If not provided, a new version of the storedInfoType will be created with the existing configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;

Returns
Type Description
boolean

Whether the config 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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfig(StoredInfoTypeConfig value)

public UpdateStoredInfoTypeRequest.Builder mergeConfig(StoredInfoTypeConfig value)

Updated configuration for the storedInfoType. If not provided, a new version of the storedInfoType will be created with the existing configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;

Parameter
Name Description
value StoredInfoTypeConfig
Returns
Type Description
UpdateStoredInfoTypeRequest.Builder

mergeFrom(UpdateStoredInfoTypeRequest other)

public UpdateStoredInfoTypeRequest.Builder mergeFrom(UpdateStoredInfoTypeRequest other)
Parameter
Name Description
other UpdateStoredInfoTypeRequest
Returns
Type Description
UpdateStoredInfoTypeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateStoredInfoTypeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateStoredInfoTypeRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateStoredInfoTypeRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateStoredInfoTypeRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateStoredInfoTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateStoredInfoTypeRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateStoredInfoTypeRequest.Builder mergeUpdateMask(FieldMask value)

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateStoredInfoTypeRequest.Builder

setConfig(StoredInfoTypeConfig value)

public UpdateStoredInfoTypeRequest.Builder setConfig(StoredInfoTypeConfig value)

Updated configuration for the storedInfoType. If not provided, a new version of the storedInfoType will be created with the existing configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;

Parameter
Name Description
value StoredInfoTypeConfig
Returns
Type Description
UpdateStoredInfoTypeRequest.Builder

setConfig(StoredInfoTypeConfig.Builder builderForValue)

public UpdateStoredInfoTypeRequest.Builder setConfig(StoredInfoTypeConfig.Builder builderForValue)

Updated configuration for the storedInfoType. If not provided, a new version of the storedInfoType will be created with the existing configuration.

.google.privacy.dlp.v2.StoredInfoTypeConfig config = 2;

Parameter
Name Description
builderForValue StoredInfoTypeConfig.Builder
Returns
Type Description
UpdateStoredInfoTypeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public UpdateStoredInfoTypeRequest.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
UpdateStoredInfoTypeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UpdateStoredInfoTypeRequest.Builder setNameBytes(ByteString value)

Required. Resource name of organization and storedInfoType to be updated, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/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
Type Description
UpdateStoredInfoTypeRequest.Builder

This builder for chaining.

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

public UpdateStoredInfoTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateStoredInfoTypeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateStoredInfoTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateStoredInfoTypeRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateStoredInfoTypeRequest.Builder setUpdateMask(FieldMask value)

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateStoredInfoTypeRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateStoredInfoTypeRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateStoredInfoTypeRequest.Builder