public final class WriteLogEntriesPartialErrors extends GeneratedMessageV3 implements WriteLogEntriesPartialErrorsOrBuilder
Error details for WriteLogEntries with partial success.
Protobuf type google.logging.v2.WriteLogEntriesPartialErrors
Static Fields
LOG_ENTRY_ERRORS_FIELD_NUMBER
public static final int LOG_ENTRY_ERRORS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static WriteLogEntriesPartialErrors getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static WriteLogEntriesPartialErrors.Builder newBuilder()
Returns
newBuilder(WriteLogEntriesPartialErrors prototype)
public static WriteLogEntriesPartialErrors.Builder newBuilder(WriteLogEntriesPartialErrors prototype)
Parameter
Returns
public static WriteLogEntriesPartialErrors parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static WriteLogEntriesPartialErrors parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static WriteLogEntriesPartialErrors parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static WriteLogEntriesPartialErrors parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteLogEntriesPartialErrors parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static WriteLogEntriesPartialErrors parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static WriteLogEntriesPartialErrors parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static WriteLogEntriesPartialErrors parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static WriteLogEntriesPartialErrors parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<WriteLogEntriesPartialErrors> parser()
Returns
Methods
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
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public WriteLogEntriesPartialErrors getDefaultInstanceForType()
Returns
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 | |
getParserForType()
public Parser<WriteLogEntriesPartialErrors> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public WriteLogEntriesPartialErrors.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WriteLogEntriesPartialErrors.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public WriteLogEntriesPartialErrors.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions