Class TransformationResultStatus.Builder (3.49.0)

public static final class TransformationResultStatus.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransformationResultStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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