public static final class WriteLogEntriesPartialErrors.Builder extends GeneratedMessage.Builder<WriteLogEntriesPartialErrors.Builder> implements WriteLogEntriesPartialErrorsOrBuilder
Error details for WriteLogEntries with partial success.
Protobuf type google.logging.v2.WriteLogEntriesPartialErrors
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public WriteLogEntriesPartialErrors build()
buildPartial()
public WriteLogEntriesPartialErrors buildPartial()
clear()
public WriteLogEntriesPartialErrors.Builder clear()
Overrides
clearLogEntryErrors()
public WriteLogEntriesPartialErrors.Builder clearLogEntryErrors()
containsLogEntryErrors(int key)
public 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
|
getDefaultInstanceForType()
public WriteLogEntriesPartialErrors getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLogEntryErrors() (deprecated)
public Map<Integer,Status> getLogEntryErrors()
| Returns |
| Type |
Description |
Map<Integer,com.google.rpc.Status> |
|
getLogEntryErrorsCount()
public 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 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 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 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 |
|
getMutableLogEntryErrors() (deprecated)
public Map<Integer,Status> getMutableLogEntryErrors()
Use alternate mutation accessors instead.
| Returns |
| Type |
Description |
Map<Integer,com.google.rpc.Status> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WriteLogEntriesPartialErrors other)
public WriteLogEntriesPartialErrors.Builder mergeFrom(WriteLogEntriesPartialErrors other)
public WriteLogEntriesPartialErrors.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WriteLogEntriesPartialErrors.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
putAllLogEntryErrors(Map<Integer,Status> values)
public WriteLogEntriesPartialErrors.Builder putAllLogEntryErrors(Map<Integer,Status> values)
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 |
values |
Map<Integer,com.google.rpc.Status>
|
putLogEntryErrors(int key, Status value)
public WriteLogEntriesPartialErrors.Builder putLogEntryErrors(int key, Status value)
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
|
value |
com.google.rpc.Status
|
putLogEntryErrorsBuilderIfAbsent(int key)
public Status.Builder putLogEntryErrorsBuilderIfAbsent(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.Builder |
|
removeLogEntryErrors(int key)
public WriteLogEntriesPartialErrors.Builder removeLogEntryErrors(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
|