Class Error.Builder (3.22.0)

public static final class Error.Builder extends GeneratedMessageV3.Builder<Error.Builder> implements ErrorOrBuilder

Details information about an error encountered during job execution or the results of an unsuccessful activation of the JobTrigger.

Protobuf type google.privacy.dlp.v2.Error

Implements

ErrorOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllTimestamps(Iterable<? extends Timestamp> values)

public Error.Builder addAllTimestamps(Iterable<? extends Timestamp> values)

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.protobuf.Timestamp>
Returns
TypeDescription
Error.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTimestamps(Timestamp value)

public Error.Builder addTimestamps(Timestamp value)

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Error.Builder

addTimestamps(Timestamp.Builder builderForValue)

public Error.Builder addTimestamps(Timestamp.Builder builderForValue)

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Error.Builder

addTimestamps(int index, Timestamp value)

public Error.Builder addTimestamps(int index, Timestamp value)

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameters
NameDescription
indexint
valueTimestamp
Returns
TypeDescription
Error.Builder

addTimestamps(int index, Timestamp.Builder builderForValue)

public Error.Builder addTimestamps(int index, Timestamp.Builder builderForValue)

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
Error.Builder

addTimestampsBuilder()

public Timestamp.Builder addTimestampsBuilder()

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Returns
TypeDescription
Builder

addTimestampsBuilder(int index)

public Timestamp.Builder addTimestampsBuilder(int index)

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

build()

public Error build()
Returns
TypeDescription
Error

buildPartial()

public Error buildPartial()
Returns
TypeDescription
Error

clear()

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

clearDetails()

public Error.Builder clearDetails()

Detailed error codes and messages.

.google.rpc.Status details = 1;

Returns
TypeDescription
Error.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Error.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Error.Builder
Overrides

clearTimestamps()

public Error.Builder clearTimestamps()

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Returns
TypeDescription
Error.Builder

clone()

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

getDefaultInstanceForType()

public Error getDefaultInstanceForType()
Returns
TypeDescription
Error

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetails()

public Status getDetails()

Detailed error codes and messages.

.google.rpc.Status details = 1;

Returns
TypeDescription
com.google.rpc.Status

The details.

getDetailsBuilder()

public Status.Builder getDetailsBuilder()

Detailed error codes and messages.

.google.rpc.Status details = 1;

Returns
TypeDescription
com.google.rpc.Status.Builder

getDetailsOrBuilder()

public StatusOrBuilder getDetailsOrBuilder()

Detailed error codes and messages.

.google.rpc.Status details = 1;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getTimestamps(int index)

public Timestamp getTimestamps(int index)

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Timestamp

getTimestampsBuilder(int index)

public Timestamp.Builder getTimestampsBuilder(int index)

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

getTimestampsBuilderList()

public List<Timestamp.Builder> getTimestampsBuilderList()

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Returns
TypeDescription
List<Builder>

getTimestampsCount()

public int getTimestampsCount()

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Returns
TypeDescription
int

getTimestampsList()

public List<Timestamp> getTimestampsList()

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Returns
TypeDescription
List<Timestamp>

getTimestampsOrBuilder(int index)

public TimestampOrBuilder getTimestampsOrBuilder(int index)

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TimestampOrBuilder

getTimestampsOrBuilderList()

public List<? extends TimestampOrBuilder> getTimestampsOrBuilderList()

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Returns
TypeDescription
List<? extends com.google.protobuf.TimestampOrBuilder>

hasDetails()

public boolean hasDetails()

Detailed error codes and messages.

.google.rpc.Status details = 1;

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 Error.Builder mergeDetails(Status value)

Detailed error codes and messages.

.google.rpc.Status details = 1;

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

mergeFrom(Error other)

public Error.Builder mergeFrom(Error other)
Parameter
NameDescription
otherError
Returns
TypeDescription
Error.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTimestamps(int index)

public Error.Builder removeTimestamps(int index)

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
Error.Builder

setDetails(Status value)

public Error.Builder setDetails(Status value)

Detailed error codes and messages.

.google.rpc.Status details = 1;

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

setDetails(Status.Builder builderForValue)

public Error.Builder setDetails(Status.Builder builderForValue)

Detailed error codes and messages.

.google.rpc.Status details = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public Error.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Error.Builder
Overrides

setTimestamps(int index, Timestamp value)

public Error.Builder setTimestamps(int index, Timestamp value)

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameters
NameDescription
indexint
valueTimestamp
Returns
TypeDescription
Error.Builder

setTimestamps(int index, Timestamp.Builder builderForValue)

public Error.Builder setTimestamps(int index, Timestamp.Builder builderForValue)

The times the error occurred.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
Error.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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