Class RecordTransformation.Builder (3.52.0)

public static final class RecordTransformation.Builder extends GeneratedMessageV3.Builder<RecordTransformation.Builder> implements RecordTransformationOrBuilder

The field in a record to transform.

Protobuf type google.privacy.dlp.v2.RecordTransformation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RecordTransformation build()
Returns
Type Description
RecordTransformation

buildPartial()

public RecordTransformation buildPartial()
Returns
Type Description
RecordTransformation

clear()

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

clearContainerTimestamp()

public RecordTransformation.Builder clearContainerTimestamp()

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Returns
Type Description
RecordTransformation.Builder

clearContainerVersion()

public RecordTransformation.Builder clearContainerVersion()

Container version, if available ("generation" for Cloud Storage).

string container_version = 3;

Returns
Type Description
RecordTransformation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFieldId()

public RecordTransformation.Builder clearFieldId()

For record transformations, provide a field.

.google.privacy.dlp.v2.FieldId field_id = 1;

Returns
Type Description
RecordTransformation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getContainerTimestamp()

public Timestamp getContainerTimestamp()

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Returns
Type Description
Timestamp

The containerTimestamp.

getContainerTimestampBuilder()

public Timestamp.Builder getContainerTimestampBuilder()

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Returns
Type Description
Builder

getContainerTimestampOrBuilder()

public TimestampOrBuilder getContainerTimestampOrBuilder()

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Returns
Type Description
TimestampOrBuilder

getContainerVersion()

public String getContainerVersion()

Container version, if available ("generation" for Cloud Storage).

string container_version = 3;

Returns
Type Description
String

The containerVersion.

getContainerVersionBytes()

public ByteString getContainerVersionBytes()

Container version, if available ("generation" for Cloud Storage).

string container_version = 3;

Returns
Type Description
ByteString

The bytes for containerVersion.

getDefaultInstanceForType()

public RecordTransformation getDefaultInstanceForType()
Returns
Type Description
RecordTransformation

getDescriptorForType()

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

getFieldId()

public FieldId getFieldId()

For record transformations, provide a field.

.google.privacy.dlp.v2.FieldId field_id = 1;

Returns
Type Description
FieldId

The fieldId.

getFieldIdBuilder()

public FieldId.Builder getFieldIdBuilder()

For record transformations, provide a field.

.google.privacy.dlp.v2.FieldId field_id = 1;

Returns
Type Description
FieldId.Builder

getFieldIdOrBuilder()

public FieldIdOrBuilder getFieldIdOrBuilder()

For record transformations, provide a field.

.google.privacy.dlp.v2.FieldId field_id = 1;

Returns
Type Description
FieldIdOrBuilder

hasContainerTimestamp()

public boolean hasContainerTimestamp()

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Returns
Type Description
boolean

Whether the containerTimestamp field is set.

hasFieldId()

public boolean hasFieldId()

For record transformations, provide a field.

.google.privacy.dlp.v2.FieldId field_id = 1;

Returns
Type Description
boolean

Whether the fieldId field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeContainerTimestamp(Timestamp value)

public RecordTransformation.Builder mergeContainerTimestamp(Timestamp value)

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
RecordTransformation.Builder

mergeFieldId(FieldId value)

public RecordTransformation.Builder mergeFieldId(FieldId value)

For record transformations, provide a field.

.google.privacy.dlp.v2.FieldId field_id = 1;

Parameter
Name Description
value FieldId
Returns
Type Description
RecordTransformation.Builder

mergeFrom(RecordTransformation other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setContainerTimestamp(Timestamp value)

public RecordTransformation.Builder setContainerTimestamp(Timestamp value)

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
RecordTransformation.Builder

setContainerTimestamp(Timestamp.Builder builderForValue)

public RecordTransformation.Builder setContainerTimestamp(Timestamp.Builder builderForValue)

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RecordTransformation.Builder

setContainerVersion(String value)

public RecordTransformation.Builder setContainerVersion(String value)

Container version, if available ("generation" for Cloud Storage).

string container_version = 3;

Parameter
Name Description
value String

The containerVersion to set.

Returns
Type Description
RecordTransformation.Builder

This builder for chaining.

setContainerVersionBytes(ByteString value)

public RecordTransformation.Builder setContainerVersionBytes(ByteString value)

Container version, if available ("generation" for Cloud Storage).

string container_version = 3;

Parameter
Name Description
value ByteString

The bytes for containerVersion to set.

Returns
Type Description
RecordTransformation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFieldId(FieldId value)

public RecordTransformation.Builder setFieldId(FieldId value)

For record transformations, provide a field.

.google.privacy.dlp.v2.FieldId field_id = 1;

Parameter
Name Description
value FieldId
Returns
Type Description
RecordTransformation.Builder

setFieldId(FieldId.Builder builderForValue)

public RecordTransformation.Builder setFieldId(FieldId.Builder builderForValue)

For record transformations, provide a field.

.google.privacy.dlp.v2.FieldId field_id = 1;

Parameter
Name Description
builderForValue FieldId.Builder
Returns
Type Description
RecordTransformation.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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