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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WriteLogEntriesPartialErrors.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WriteLogEntriesPartialErrors build()
buildPartial()
public WriteLogEntriesPartialErrors buildPartial()
clear()
public WriteLogEntriesPartialErrors.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public WriteLogEntriesPartialErrors.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLogEntryErrors()
public WriteLogEntriesPartialErrors.Builder clearLogEntryErrors()
clearOneof(Descriptors.OneofDescriptor oneof)
public WriteLogEntriesPartialErrors.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public WriteLogEntriesPartialErrors.Builder clone()
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 |
---|
Name | Description |
key | int
|
getDefaultInstanceForType()
public WriteLogEntriesPartialErrors getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLogEntryErrors()
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()
public Map<Integer,Status> getMutableLogEntryErrors()
Use alternate mutation accessors instead.
Returns |
---|
Type | Description |
Map<Integer,com.google.rpc.Status> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WriteLogEntriesPartialErrors.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public WriteLogEntriesPartialErrors.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WriteLogEntriesPartialErrors.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WriteLogEntriesPartialErrors.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides