Class StoredType.Builder (3.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StoredType build()
Returns
TypeDescription
StoredType

buildPartial()

public StoredType buildPartial()
Returns
TypeDescription
StoredType

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StoredType getDefaultInstanceForType()
Returns
TypeDescription
StoredType

getDescriptorForType()

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

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
StoredType.Builder

mergeFrom(StoredType other)

public StoredType.Builder mergeFrom(StoredType other)
Parameter
NameDescription
otherStoredType
Returns
TypeDescription
StoredType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StoredType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StoredType.Builder
Overrides

setCreateTime(Timestamp value)

public StoredType.Builder setCreateTime(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
NameDescription
valueTimestamp
Returns
TypeDescription
StoredType.Builder

setCreateTime(Timestamp.Builder builderForValue)

public StoredType.Builder setCreateTime(Timestamp.Builder builderForValue)

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
NameDescription
builderForValueBuilder
Returns
TypeDescription
StoredType.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public StoredType.Builder setName(String value)

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

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
StoredType.Builder

This builder for chaining.

setNameBytes(ByteString value)

public StoredType.Builder setNameBytes(ByteString value)

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

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
StoredType.Builder

This builder for chaining.

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

public StoredType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StoredType.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StoredType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StoredType.Builder
Overrides