Interface WriteLogEntriesPartialErrorsOrBuilder (3.15.17)

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

getLogEntryErrors()

public abstract Map<Integer,Status> getLogEntryErrors()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyint
defaultValuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
keyint
Returns
TypeDescription
com.google.rpc.Status