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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public RecordTransformation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RecordTransformation build()
public RecordTransformation buildPartial()
public RecordTransformation.Builder clear()
Overrides
public RecordTransformation.Builder clearContainerTimestamp()
Findings container modification timestamp, if applicable.
.google.protobuf.Timestamp container_timestamp = 2;
public RecordTransformation.Builder clearContainerVersion()
Container version, if available ("generation" for Cloud Storage).
string container_version = 3;
public RecordTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RecordTransformation.Builder clearFieldId()
For record transformations, provide a field.
.google.privacy.dlp.v2.FieldId field_id = 1;
public RecordTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RecordTransformation.Builder clone()
Overrides
public Timestamp getContainerTimestamp()
Findings container modification timestamp, if applicable.
.google.protobuf.Timestamp container_timestamp = 2;
Returns |
---|
Type | Description |
Timestamp | The containerTimestamp.
|
public Timestamp.Builder getContainerTimestampBuilder()
Findings container modification timestamp, if applicable.
.google.protobuf.Timestamp container_timestamp = 2;
public TimestampOrBuilder getContainerTimestampOrBuilder()
Findings container modification timestamp, if applicable.
.google.protobuf.Timestamp container_timestamp = 2;
public String getContainerVersion()
Container version, if available ("generation" for Cloud Storage).
string container_version = 3;
Returns |
---|
Type | Description |
String | The containerVersion.
|
public ByteString getContainerVersionBytes()
Container version, if available ("generation" for Cloud Storage).
string container_version = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for containerVersion.
|
public RecordTransformation getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public FieldId getFieldId()
For record transformations, provide a field.
.google.privacy.dlp.v2.FieldId field_id = 1;
Returns |
---|
Type | Description |
FieldId | The fieldId.
|
public FieldId.Builder getFieldIdBuilder()
For record transformations, provide a field.
.google.privacy.dlp.v2.FieldId field_id = 1;
public FieldIdOrBuilder getFieldIdOrBuilder()
For record transformations, provide a field.
.google.privacy.dlp.v2.FieldId field_id = 1;
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RecordTransformation.Builder mergeContainerTimestamp(Timestamp value)
Findings container modification timestamp, if applicable.
.google.protobuf.Timestamp container_timestamp = 2;
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
|
public RecordTransformation.Builder mergeFrom(RecordTransformation other)
public RecordTransformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RecordTransformation.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final RecordTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RecordTransformation.Builder setContainerTimestamp(Timestamp value)
Findings container modification timestamp, if applicable.
.google.protobuf.Timestamp container_timestamp = 2;
public RecordTransformation.Builder setContainerTimestamp(Timestamp.Builder builderForValue)
Findings container modification timestamp, if applicable.
.google.protobuf.Timestamp container_timestamp = 2;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
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.
|
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.
|
public RecordTransformation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
public RecordTransformation.Builder setFieldId(FieldId.Builder builderForValue)
For record transformations, provide a field.
.google.privacy.dlp.v2.FieldId field_id = 1;
public RecordTransformation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RecordTransformation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides