Class TransformationResultStatus.Builder (3.87.0)

public static final class TransformationResultStatus.Builder extends GeneratedMessage.Builder<TransformationResultStatus.Builder> implements TransformationResultStatusOrBuilder

The outcome of a transformation.

Protobuf type google.privacy.dlp.v2.TransformationResultStatus

Static Methods

getDescriptor()

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

Methods

build()

public TransformationResultStatus build()
Returns
Type Description
TransformationResultStatus

buildPartial()

public TransformationResultStatus buildPartial()
Returns
Type Description
TransformationResultStatus

clear()

public TransformationResultStatus.Builder clear()
Returns
Type Description
TransformationResultStatus.Builder
Overrides

clearDetails()

public TransformationResultStatus.Builder clearDetails()

Detailed error codes and messages

.google.rpc.Status details = 2;

Returns
Type Description
TransformationResultStatus.Builder

clearResultStatusType()

public TransformationResultStatus.Builder clearResultStatusType()

Transformation result status type, this will be either SUCCESS, or it will be the reason for why the transformation was not completely successful.

.google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1;

Returns
Type Description
TransformationResultStatus.Builder

This builder for chaining.

getDefaultInstanceForType()

public TransformationResultStatus getDefaultInstanceForType()
Returns
Type Description
TransformationResultStatus

getDescriptorForType()

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

getDetails()

public Status getDetails()

Detailed error codes and messages

.google.rpc.Status details = 2;

Returns
Type Description
com.google.rpc.Status

The details.

getDetailsBuilder()

public Status.Builder getDetailsBuilder()

Detailed error codes and messages

.google.rpc.Status details = 2;

Returns
Type Description
com.google.rpc.Status.Builder

getDetailsOrBuilder()

public StatusOrBuilder getDetailsOrBuilder()

Detailed error codes and messages

.google.rpc.Status details = 2;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getResultStatusType()

public TransformationResultStatusType getResultStatusType()

Transformation result status type, this will be either SUCCESS, or it will be the reason for why the transformation was not completely successful.

.google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1;

Returns
Type Description
TransformationResultStatusType

The resultStatusType.

getResultStatusTypeValue()

public int getResultStatusTypeValue()

Transformation result status type, this will be either SUCCESS, or it will be the reason for why the transformation was not completely successful.

.google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for resultStatusType.

hasDetails()

public boolean hasDetails()

Detailed error codes and messages

.google.rpc.Status details = 2;

Returns
Type Description
boolean

Whether the details field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDetails(Status value)

public TransformationResultStatus.Builder mergeDetails(Status value)

Detailed error codes and messages

.google.rpc.Status details = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
TransformationResultStatus.Builder

mergeFrom(TransformationResultStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDetails(Status value)

public TransformationResultStatus.Builder setDetails(Status value)

Detailed error codes and messages

.google.rpc.Status details = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
TransformationResultStatus.Builder

setDetails(Status.Builder builderForValue)

public TransformationResultStatus.Builder setDetails(Status.Builder builderForValue)

Detailed error codes and messages

.google.rpc.Status details = 2;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
TransformationResultStatus.Builder

setResultStatusType(TransformationResultStatusType value)

public TransformationResultStatus.Builder setResultStatusType(TransformationResultStatusType value)

Transformation result status type, this will be either SUCCESS, or it will be the reason for why the transformation was not completely successful.

.google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1;

Parameter
Name Description
value TransformationResultStatusType

The resultStatusType to set.

Returns
Type Description
TransformationResultStatus.Builder

This builder for chaining.

setResultStatusTypeValue(int value)

public TransformationResultStatus.Builder setResultStatusTypeValue(int value)

Transformation result status type, this will be either SUCCESS, or it will be the reason for why the transformation was not completely successful.

.google.privacy.dlp.v2.TransformationResultStatusType result_status_type = 1;

Parameter
Name Description
value int

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

Returns
Type Description
TransformationResultStatus.Builder

This builder for chaining.