Interface ErrorOrBuilder (3.51.0)

public interface ErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetails()

public abstract Status getDetails()

Detailed error codes and messages.

.google.rpc.Status details = 1;

Returns
Type Description
com.google.rpc.Status

The details.

getDetailsOrBuilder()

public abstract StatusOrBuilder getDetailsOrBuilder()

Detailed error codes and messages.

.google.rpc.Status details = 1;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getExtraInfo()

public abstract Error.ErrorExtraInfo getExtraInfo()

Additional information about the error.

.google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;

Returns
Type Description
Error.ErrorExtraInfo

The extraInfo.

getExtraInfoValue()

public abstract int getExtraInfoValue()

Additional information about the error.

.google.privacy.dlp.v2.Error.ErrorExtraInfo extra_info = 4;

Returns
Type Description
int

The enum numeric value on the wire for extraInfo.

getTimestamps(int index)

public abstract Timestamp getTimestamps(int index)

The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameter
Name Description
index int
Returns
Type Description
Timestamp

getTimestampsCount()

public abstract int getTimestampsCount()

The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.

repeated .google.protobuf.Timestamp timestamps = 2;

Returns
Type Description
int

getTimestampsList()

public abstract List<Timestamp> getTimestampsList()

The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.

repeated .google.protobuf.Timestamp timestamps = 2;

Returns
Type Description
List<Timestamp>

getTimestampsOrBuilder(int index)

public abstract TimestampOrBuilder getTimestampsOrBuilder(int index)

The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.

repeated .google.protobuf.Timestamp timestamps = 2;

Parameter
Name Description
index int
Returns
Type Description
TimestampOrBuilder

getTimestampsOrBuilderList()

public abstract List<? extends TimestampOrBuilder> getTimestampsOrBuilderList()

The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.

repeated .google.protobuf.Timestamp timestamps = 2;

Returns
Type Description
List<? extends com.google.protobuf.TimestampOrBuilder>

hasDetails()

public abstract boolean hasDetails()

Detailed error codes and messages.

.google.rpc.Status details = 1;

Returns
Type Description
boolean

Whether the details field is set.