public static final class TransformationSummary.SummaryResult.Builder extends GeneratedMessage.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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TransformationSummary.SummaryResult.BuilderImplements
TransformationSummary.SummaryResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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.TransformationResultCodeThe 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 |
intThe 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 |
longThe 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 |
StringThe 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 |
ByteStringThe bytes for details to set. |
| Returns | |
|---|---|
| Type | Description |
TransformationSummary.SummaryResult.Builder |
This builder for chaining. |