Class StoredInfoType.Builder (3.50.0)

public static final class StoredInfoType.Builder extends GeneratedMessageV3.Builder<StoredInfoType.Builder> implements StoredInfoTypeOrBuilder

StoredInfoType resource message that contains information about the current version and any pending updates.

Protobuf type google.privacy.dlp.v2.StoredInfoType

Static Methods

getDescriptor()

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

Methods

addAllPendingVersions(Iterable<? extends StoredInfoTypeVersion> values)

public StoredInfoType.Builder addAllPendingVersions(Iterable<? extends StoredInfoTypeVersion> values)

Pending versions of the stored info type. Empty if no versions are pending.

repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.StoredInfoTypeVersion>
Returns
Type Description
StoredInfoType.Builder

addPendingVersions(StoredInfoTypeVersion value)

public StoredInfoType.Builder addPendingVersions(StoredInfoTypeVersion value)

Pending versions of the stored info type. Empty if no versions are pending.

repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;

Parameter
Name Description
value StoredInfoTypeVersion
Returns
Type Description
StoredInfoType.Builder

addPendingVersions(StoredInfoTypeVersion.Builder builderForValue)

public StoredInfoType.Builder addPendingVersions(StoredInfoTypeVersion.Builder builderForValue)

Pending versions of the stored info type. Empty if no versions are pending.

repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;

Parameter
Name Description
builderForValue StoredInfoTypeVersion.Builder
Returns
Type Description
StoredInfoType.Builder

addPendingVersions(int index, StoredInfoTypeVersion value)

public StoredInfoType.Builder addPendingVersions(int index, StoredInfoTypeVersion value)

Pending versions of the stored info type. Empty if no versions are pending.

repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;

Parameters
Name Description
index int
value StoredInfoTypeVersion
Returns
Type Description
StoredInfoType.Builder

addPendingVersions(int index, StoredInfoTypeVersion.Builder builderForValue)

public StoredInfoType.Builder addPendingVersions(int index, StoredInfoTypeVersion.Builder builderForValue)

Pending versions of the stored info type. Empty if no versions are pending.

repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;

Parameters
Name Description
index int
builderForValue StoredInfoTypeVersion.Builder
Returns
Type Description
StoredInfoType.Builder

addPendingVersionsBuilder()

public StoredInfoTypeVersion.Builder addPendingVersionsBuilder()

Pending versions of the stored info type. Empty if no versions are pending.

repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;

Returns
Type Description
StoredInfoTypeVersion.Builder

addPendingVersionsBuilder(int index)

public StoredInfoTypeVersion.Builder addPendingVersionsBuilder(int index)

Pending versions of the stored info type. Empty if no versions are pending.

repeated .google.privacy.dlp.v2.StoredInfoTypeVersion pending_versions = 3;

Parameter
Name Description
index int
Returns
Type Description
StoredInfoTypeVersion.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StoredInfoType build()
Returns
Type Description
StoredInfoType

buildPartial()

public StoredInfoType buildPartial()
Returns
Type Description
StoredInfoType

clear()