public static final class WriteLogEntriesPartialErrors.Builder extends GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder> implements WriteLogEntriesPartialErrorsOrBuilder
Error details for WriteLogEntries with partial success.
Protobuf type google.logging.v2.WriteLogEntriesPartialErrors
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WriteLogEntriesPartialErrors.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WriteLogEntriesPartialErrors build()
Returns
buildPartial()
public WriteLogEntriesPartialErrors buildPartial()
Returns
clear()
public WriteLogEntriesPartialErrors.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WriteLogEntriesPartialErrors.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLogEntryErrors()
public WriteLogEntriesPartialErrors.Builder clearLogEntryErrors()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public WriteLogEntriesPartialErrors.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public WriteLogEntriesPartialErrors.Builder clone()
Returns
Overrides
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
Returns
getDefaultInstanceForType()
public WriteLogEntriesPartialErrors getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLogEntryErrors()
public Map<Integer,Status> getLogEntryErrors()
Returns
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
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
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
Returns
Type | Description |
com.google.rpc.Status | |
getMutableLogEntryErrors()
public Map<Integer,Status> getMutableLogEntryErrors()
Use alternate mutation accessors instead.
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WriteLogEntriesPartialErrors other)
public WriteLogEntriesPartialErrors.Builder mergeFrom(WriteLogEntriesPartialErrors other)
Parameter
Returns
public WriteLogEntriesPartialErrors.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WriteLogEntriesPartialErrors.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WriteLogEntriesPartialErrors.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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>
|
Returns
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
|
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public WriteLogEntriesPartialErrors.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WriteLogEntriesPartialErrors.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WriteLogEntriesPartialErrors.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides