Class RecordTransformation.Builder (3.23.0)

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

Protobuf type google.privacy.dlp.v2.RecordTransformation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RecordTransformation build()
Returns
TypeDescription
RecordTransformation

buildPartial()

public RecordTransformation buildPartial()
Returns
TypeDescription
RecordTransformation

clear()

public RecordTransformation.Builder clear()
Returns
TypeDescription
RecordTransformation.Builder
Overrides

clearContainerTimestamp()

public RecordTransformation.Builder clearContainerTimestamp()

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Returns
TypeDescription
RecordTransformation.Builder

clearContainerVersion()

public RecordTransformation.Builder clearContainerVersion()

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

string container_version = 3;

Returns
TypeDescription
RecordTransformation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RecordTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RecordTransformation.Builder
Overrides

clearFieldId()

public RecordTransformation.Builder clearFieldId()

For record transformations, provide a field.

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

Returns
TypeDescription
RecordTransformation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public RecordTransformation.Builder clone()
Returns
TypeDescription
RecordTransformation.Builder
Overrides

getContainerTimestamp()

public Timestamp getContainerTimestamp()

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Returns
TypeDescription
Timestamp

The containerTimestamp.

getContainerTimestampBuilder()

public Timestamp.Builder getContainerTimestampBuilder()

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Returns
TypeDescription
Builder

getContainerTimestampOrBuilder()

public TimestampOrBuilder getContainerTimestampOrBuilder()

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Returns
TypeDescription
TimestampOrBuilder

getContainerVersion()

public String getContainerVersion()

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

string container_version = 3;

Returns
TypeDescription
String

The containerVersion.

getContainerVersionBytes()

public ByteString getContainerVersionBytes()

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

string container_version = 3;

Returns
TypeDescription
ByteString

The bytes for containerVersion.

getDefaultInstanceForType()

public RecordTransformation getDefaultInstanceForType()
Returns
TypeDescription
RecordTransformation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFieldId()

public FieldId getFieldId()

For record transformations, provide a field.

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

Returns
TypeDescription
FieldId

The fieldId.

getFieldIdBuilder()

public FieldId.Builder getFieldIdBuilder()

For record transformations, provide a field.

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

Returns
TypeDescription
FieldId.Builder

getFieldIdOrBuilder()

public FieldIdOrBuilder getFieldIdOrBuilder()

For record transformations, provide a field.

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

Returns
TypeDescription
FieldIdOrBuilder

hasContainerTimestamp()

public boolean hasContainerTimestamp()

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

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

Whether the fieldId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeContainerTimestamp(Timestamp value)

public RecordTransformation.Builder mergeContainerTimestamp(Timestamp value)

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueFieldId
Returns
TypeDescription
RecordTransformation.Builder

mergeFrom(RecordTransformation other)

public RecordTransformation.Builder mergeFrom(RecordTransformation other)
Parameter
NameDescription
otherRecordTransformation
Returns
TypeDescription
RecordTransformation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecordTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
RecordTransformation.Builder

setContainerVersion(String value)

public RecordTransformation.Builder setContainerVersion(String value)

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

string container_version = 3;

Parameter
NameDescription
valueString

The containerVersion to set.

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

The bytes for containerVersion to set.

Returns
TypeDescription
RecordTransformation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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