Class StoredType.Builder (3.47.0)

public static final class StoredType.Builder extends GeneratedMessageV3.Builder<StoredType.Builder> implements StoredTypeOrBuilder

A reference to a StoredInfoType to use with scanning.

Protobuf type google.privacy.dlp.v2.StoredType

Implements

StoredTypeOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StoredType build()
Returns
Type Description
StoredType

buildPartial()

public StoredType buildPartial()
Returns
Type Description
StoredType

clear()

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

clearCreateTime()

public StoredType.Builder clearCreateTime()

Timestamp indicating when the version of the StoredInfoType used for inspection was created. Output-only field, populated by the system.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
StoredType.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public StoredType.Builder clearName()

Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

string name = 1;

Returns
Type Description
StoredType.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Timestamp indicating when the version of the StoredInfoType used for inspection was created. Output-only field, populated by the system.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Timestamp indicating when the version of the StoredInfoType used for inspection was created. Output-only field, populated by the system.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Timestamp indicating when the version of the StoredInfoType used for inspection was created. Output-only field, populated by the system.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public StoredType getDefaultInstanceForType()
Returns
Type Description
StoredType

getDescriptorForType()

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

getName()

public String getName()

Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Resource name of the requested StoredInfoType, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

hasCreateTime()

public boolean hasCreateTime()

Timestamp indicating when the version of the StoredInfoType used for inspection was created. Output-only field, populated by the system.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public StoredType.Builder mergeCreateTime(Timestamp value)

Timestamp indicating when the version of the StoredInfoType used for inspection was created. Output-only field, populated by the system.

.google.protobuf.Timestamp create_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
StoredType.Builder

mergeFrom(StoredType other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StoredType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type