Class UpdateStoredInfoTypeRequest.Builder (3.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateStoredInfoTypeRequest build()
Returns
TypeDescription
UpdateStoredInfoTypeRequest

buildPartial()

public UpdateStoredInfoTypeRequest buildPartial()
Returns
TypeDescription
UpdateStoredInfoTypeRequest

clear()

public UpdateStoredInfoTypeRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateStoredInfoTypeRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateStoredInfoTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateStoredInfoTypeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateStoredInfoTypeRequest.Builder clearUpdateMask()

Mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
UpdateStoredInfoTypeRequest.Builder

clone()

public UpdateStoredInfoTypeRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
StoredInfoTypeConfigOrBuilder

getDefaultInstanceForType()

public UpdateStoredInfoTypeRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateStoredInfoTypeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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

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

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
NameDescription
valueStoredInfoTypeConfig
Returns
TypeDescription
UpdateStoredInfoTypeRequest.Builder

mergeFrom(UpdateStoredInfoTypeRequest other)

public UpdateStoredInfoTypeRequest.Builder mergeFrom(UpdateStoredInfoTypeRequest other)
Parameter
NameDescription
otherUpdateStoredInfoTypeRequest
Returns
TypeDescription
UpdateStoredInfoTypeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateStoredInfoTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueStoredInfoTypeConfig
Returns
TypeDescription
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
NameDescription
builderForValueStoredInfoTypeConfig.Builder
Returns
TypeDescription
UpdateStoredInfoTypeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateStoredInfoTypeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateStoredInfoTypeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateStoredInfoTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateStoredInfoTypeRequest.Builder