Class TransformationResultStatus.Builder (3.7.2)

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

Protobuf type google.privacy.dlp.v2.TransformationResultStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransformationResultStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransformationResultStatus.Builder
Overrides

build()

public TransformationResultStatus build()
Returns
TypeDescription
TransformationResultStatus

buildPartial()

public TransformationResultStatus buildPartial()
Returns
TypeDescription
TransformationResultStatus

clear()

public TransformationResultStatus.Builder clear()
Returns
TypeDescription
TransformationResultStatus.Builder
Overrides

clearDetails()

public TransformationResultStatus.Builder clearDetails()

Detailed error codes and messages

.google.rpc.Status details = 2;

Returns
TypeDescription
TransformationResultStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public TransformationResultStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TransformationResultStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TransformationResultStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
TransformationResultStatus.Builder

This builder for chaining.

clone()

public TransformationResultStatus.Builder clone()
Returns
TypeDescription
TransformationResultStatus.Builder
Overrides

getDefaultInstanceForType()

public TransformationResultStatus getDefaultInstanceForType()
Returns
TypeDescription
TransformationResultStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetails()

public Status getDetails()

Detailed error codes and messages

.google.rpc.Status details = 2;

Returns
TypeDescription
com.google.rpc.Status

The details.

getDetailsBuilder()

public Status.Builder getDetailsBuilder()

Detailed error codes and messages

.google.rpc.Status details = 2;

Returns
TypeDescription
com.google.rpc.Status.Builder

getDetailsOrBuilder()

public StatusOrBuilder getDetailsOrBuilder()

Detailed error codes and messages

.google.rpc.Status details = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the details field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDetails(Status value)

public TransformationResultStatus.Builder mergeDetails(Status value)

Detailed error codes and messages

.google.rpc.Status details = 2;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
TransformationResultStatus.Builder

mergeFrom(TransformationResultStatus other)

public TransformationResultStatus.Builder mergeFrom(TransformationResultStatus other)
Parameter
NameDescription
otherTransformationResultStatus
Returns
TypeDescription
TransformationResultStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransformationResultStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransformationResultStatus.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TransformationResultStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TransformationResultStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransformationResultStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransformationResultStatus.Builder
Overrides

setDetails(Status value)

public TransformationResultStatus.Builder setDetails(Status value)

Detailed error codes and messages

.google.rpc.Status details = 2;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
TransformationResultStatus.Builder

setDetails(Status.Builder builderForValue)

public TransformationResultStatus.Builder setDetails(Status.Builder builderForValue)

Detailed error codes and messages

.google.rpc.Status details = 2;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
TransformationResultStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TransformationResultStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransformationResultStatus.Builder
Overrides

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

public TransformationResultStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTransformationResultStatusType

The resultStatusType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
TransformationResultStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TransformationResultStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransformationResultStatus.Builder
Overrides