Class RecordTransformation (3.43.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
TypeDescription
int

CONTAINER_VERSION_FIELD_NUMBER

public static final int CONTAINER_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

FIELD_ID_FIELD_NUMBER

public static final int FIELD_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RecordTransformation getDefaultInstance()
Returns
TypeDescription
RecordTransformation

getDescriptor()

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

newBuilder()

public static RecordTransformation.Builder newBuilder()
Returns
TypeDescription
RecordTransformation.Builder

newBuilder(RecordTransformation prototype)

public static RecordTransformation.Builder newBuilder(RecordTransformation prototype)
Parameter
NameDescription
prototypeRecordTransformation
Returns
TypeDescription
RecordTransformation.Builder

parseDelimitedFrom(InputStream input)

public static RecordTransformation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RecordTransformation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordTransformation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RecordTransformation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RecordTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RecordTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RecordTransformation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RecordTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RecordTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RecordTransformation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RecordTransformation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordTransformation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RecordTransformation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RecordTransformation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecordTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordTransformation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RecordTransformation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RecordTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RecordTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecordTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RecordTransformation> parser()
Returns
TypeDescription
Parser<RecordTransformation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getContainerTimestamp()

public Timestamp getContainerTimestamp()

Findings container modification timestamp, if applicable.

.google.protobuf.Timestamp container_timestamp = 2;

Returns
TypeDescription
Timestamp

The containerTimestamp.

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

getFieldId()

public FieldId getFieldId()

For record transformations, provide a field.

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

Returns
TypeDescription
FieldId

The fieldId.

getFieldIdOrBuilder()

public FieldIdOrBuilder getFieldIdOrBuilder()

For record transformations, provide a field.

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

Returns
TypeDescription
FieldIdOrBuilder

getParserForType()

public Parser<RecordTransformation> getParserForType()
Returns
TypeDescription
Parser<RecordTransformation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RecordTransformation.Builder newBuilderForType()
Returns
TypeDescription
RecordTransformation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RecordTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RecordTransformation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RecordTransformation.Builder toBuilder()
Returns
TypeDescription
RecordTransformation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException