Interface WriteLogEntriesPartialErrorsOrBuilder (3.17.0)

public interface WriteLogEntriesPartialErrorsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLogEntryErrors(int key)

public abstract boolean containsLogEntryErrors(int key)

When WriteLogEntriesRequest.partial_success is true, records the error status for entries that were not written due to a permanent error, keyed by the entry's zero-based index in WriteLogEntriesRequest.entries.

Failed requests for which no entries are written will not include per-entry errors.

map<int32, .google.rpc.Status> log_entry_errors = 1;

Parameter
Name Description
key int
Returns
Type Description
boolean

getLogEntryErrors() (deprecated)

public abstract Map<Integer,Status> getLogEntryErrors()
Returns
Type Description
Map<Integer,com.google.rpc.Status>

getLogEntryErrorsCount()

public abstract int getLogEntryErrorsCount()

When WriteLogEntriesRequest.partial_success is true, records the error status for entries that were not written due to a permanent error, keyed by the entry's zero-based index in WriteLogEntriesRequest.entries.

Failed requests for which no entries are written will not include per-entry errors.

map<int32, .google.rpc.Status> log_entry_errors = 1;

Returns
Type Description
int

getLogEntryErrorsMap()

public abstract Map<Integer,Status> getLogEntryErrorsMap()

When WriteLogEntriesRequest.partial_success is true, records the error status for entries that were not written due to a permanent error, keyed by the entry's zero-based index in WriteLogEntriesRequest.entries.

Failed requests for which no entries are written will not include per-entry errors.

map<int32, .google.rpc.Status> log_entry_errors = 1;

Returns
Type Description
Map<Integer,com.google.rpc.Status>

getLogEntryErrorsOrDefault(int key, Status defaultValue)

public abstract Status getLogEntryErrorsOrDefault(int key, Status defaultValue)

When WriteLogEntriesRequest.partial_success is true, records the error status for entries that were not written due to a permanent error, keyed by the entry's zero-based index in WriteLogEntriesRequest.entries.

Failed requests for which no entries are written will not include per-entry errors.

map<int32, .google.rpc.Status> log_entry_errors = 1;

Parameters
Name Description
key int
defaultValue com.google.rpc.Status
Returns
Type Description
com.google.rpc.Status

getLogEntryErrorsOrThrow(int key)

public abstract Status getLogEntryErrorsOrThrow(int key)

When WriteLogEntriesRequest.partial_success is true, records the error status for entries that were not written due to a permanent error, keyed by the entry's zero-based index in WriteLogEntriesRequest.entries.

Failed requests for which no entries are written will not include per-entry errors.

map<int32, .google.rpc.Status> log_entry_errors = 1;

Parameter
Name Description
key int
Returns
Type Description
com.google.rpc.Status