Class TransformationSummary.SummaryResult.Builder (3.46.0)

public static final class TransformationSummary.SummaryResult.Builder extends GeneratedMessageV3.Builder<TransformationSummary.SummaryResult.Builder> implements TransformationSummary.SummaryResultOrBuilder

A collection that informs the user the number of times a particular TransformationResultCode and error details occurred.

Protobuf type google.privacy.dlp.v2.TransformationSummary.SummaryResult

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TransformationSummary.SummaryResult build()
Returns
Type Description
TransformationSummary.SummaryResult

buildPartial()

public TransformationSummary.SummaryResult buildPartial()
Returns
Type Description
TransformationSummary.SummaryResult

clear()

public TransformationSummary.SummaryResult.Builder clear()
Returns
Type Description
TransformationSummary.SummaryResult.Builder
Overrides

clearCode()

public TransformationSummary.SummaryResult.Builder clearCode()

Outcome of the transformation.

.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;

Returns
Type Description
TransformationSummary.SummaryResult.Builder

This builder for chaining.

clearCount()

public TransformationSummary.SummaryResult.Builder clearCount()

Number of transformations counted by this result.

int64 count = 1;

Returns
Type Description
TransformationSummary.SummaryResult.Builder

This builder for chaining.

clearDetails()

public TransformationSummary.SummaryResult.Builder clearDetails()

A place for warnings or errors to show up if a transformation didn't work as expected.

string details = 3;

Returns
Type Description
TransformationSummary.SummaryResult.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TransformationSummary.SummaryResult.Builder clone()
Returns
Type Description
TransformationSummary.SummaryResult.Builder
Overrides

getCode()

public TransformationSummary.TransformationResultCode getCode()

Outcome of the transformation.

.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;

Returns
Type Description
TransformationSummary.TransformationResultCode

The code.

getCodeValue()

public int getCodeValue()

Outcome of the transformation.

.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;

Returns
Type Description
int

The enum numeric value on the wire for code.

getCount()

public long getCount()

Number of transformations counted by this result.

int64 count = 1;

Returns
Type Description
long

The count.

getDefaultInstanceForType()

public TransformationSummary.SummaryResult getDefaultInstanceForType()
Returns
Type Description
TransformationSummary.SummaryResult

getDescriptorForType()

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

getDetails()

public String getDetails()

A place for warnings or errors to show up if a transformation didn't work as expected.

string details = 3;

Returns
Type Description
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

A place for warnings or errors to show up if a transformation didn't work as expected.

string details = 3;

Returns
Type Description
ByteString

The bytes for details.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TransformationSummary.SummaryResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCode(TransformationSummary.TransformationResultCode value)

public TransformationSummary.SummaryResult.Builder setCode(TransformationSummary.TransformationResultCode value)

Outcome of the transformation.

.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;

Parameter
Name Description
value TransformationSummary.TransformationResultCode

The code to set.

Returns
Type Description
TransformationSummary.SummaryResult.Builder

This builder for chaining.

setCodeValue(int value)

public TransformationSummary.SummaryResult.Builder setCodeValue(int value)

Outcome of the transformation.

.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode code = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for code to set.

Returns
Type Description
TransformationSummary.SummaryResult.Builder

This builder for chaining.

setCount(long value)

public TransformationSummary.SummaryResult.Builder setCount(long value)

Number of transformations counted by this result.

int64 count = 1;

Parameter
Name Description
value long

The count to set.

Returns
Type Description
TransformationSummary.SummaryResult.Builder

This builder for chaining.

setDetails(String value)

public TransformationSummary.SummaryResult.Builder setDetails(String value)

A place for warnings or errors to show up if a transformation didn't work as expected.

string details = 3;

Parameter
Name Description
value String

The details to set.

Returns
Type Description
TransformationSummary.SummaryResult.Builder

This builder for chaining.

setDetailsBytes(ByteString value)

public TransformationSummary.SummaryResult.Builder setDetailsBytes(ByteString value)

A place for warnings or errors to show up if a transformation didn't work as expected.

string details = 3;

Parameter
Name Description
value ByteString

The bytes for details to set.

Returns
Type Description
TransformationSummary.SummaryResult.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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