Class RecordTransformation (3.49.0)

public final class RecordTransformation extends GeneratedMessageV3 implements RecordTransformationOrBuilder

The field in a record to transform.

Protobuf type google.privacy.dlp.v2.RecordTransformation

Static Fields

CONTAINER_TIMESTAMP_FIELD_NUMBER

public static final int CONTAINER_TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

CONTAINER_VERSION_FIELD_NUMBER

public static final int CONTAINER_VERSION_FIELD_NUMBER
Field Value
Type Description
int

FIELD_ID_FIELD_NUMBER

public static final int FIELD_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RecordTransformation getDefaultInstance()
Returns
Type Description
RecordTransformation

getDescriptor()

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

newBuilder()

public static RecordTransformation.Builder newBuilder()
Returns
Type Description
RecordTransformation.Builder

newBuilder(RecordTransformation prototype)

public static RecordTransformation.Builder newBuilder(RecordTransformation prototype)
Parameter
Name Description
prototype RecordTransformation
Returns
Type Description
RecordTransformation.Builder

parseDelimitedFrom(InputStream input)

public static RecordTransformation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RecordTransformation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordTransformation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RecordTransformation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RecordTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RecordTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RecordTransformation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RecordTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RecordTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RecordTransformation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RecordTransformation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordTransformation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RecordTransformation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RecordTransformation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordTransformation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RecordTransformation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RecordTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RecordTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecordTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RecordTransformation> parser()
Returns
Type Description
Parser<RecordTransformation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getContainerTimestamp()

public Timestamp getContainerTimestamp()

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Returns
Type Description
Timestamp

The containerTimestamp.

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

getFieldId()

public FieldId getFieldId()

For record transformations, provide a field.

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

Returns
Type Description
FieldId

The fieldId.

getFieldIdOrBuilder()

public FieldIdOrBuilder getFieldIdOrBuilder()

For record transformations, provide a field.

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

Returns
Type Description
FieldIdOrBuilder

getParserForType()

public Parser<RecordTransformation> getParserForType()
Returns
Type Description
Parser<RecordTransformation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RecordTransformation.Builder newBuilderForType()
Returns
Type Description
RecordTransformation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RecordTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RecordTransformation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RecordTransformation.Builder toBuilder()
Returns
Type Description
RecordTransformation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException