public final class WriteLogEntriesPartialErrors extends GeneratedMessageV3 implements WriteLogEntriesPartialErrorsOrBuilder
Error details for WriteLogEntries with partial success.
Protobuf type google.logging.v2.WriteLogEntriesPartialErrors
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WriteLogEntriesPartialErrorsImplements
WriteLogEntriesPartialErrorsOrBuilderStatic Fields
LOG_ENTRY_ERRORS_FIELD_NUMBER
public static final int LOG_ENTRY_ERRORS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static WriteLogEntriesPartialErrors getDefaultInstance()
Type | Description |
WriteLogEntriesPartialErrors |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static WriteLogEntriesPartialErrors.Builder newBuilder()
Type | Description |
WriteLogEntriesPartialErrors.Builder |
newBuilder(WriteLogEntriesPartialErrors prototype)
public static WriteLogEntriesPartialErrors.Builder newBuilder(WriteLogEntriesPartialErrors prototype)
Name | Description |
prototype | WriteLogEntriesPartialErrors |
Type | Description |
WriteLogEntriesPartialErrors.Builder |
parseDelimitedFrom(InputStream input)
public static WriteLogEntriesPartialErrors parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
WriteLogEntriesPartialErrors |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WriteLogEntriesPartialErrors |
Type | Description |
IOException |
parseFrom(byte[] data)
public static WriteLogEntriesPartialErrors parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
WriteLogEntriesPartialErrors |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WriteLogEntriesPartialErrors |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static WriteLogEntriesPartialErrors parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
WriteLogEntriesPartialErrors |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WriteLogEntriesPartialErrors |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static WriteLogEntriesPartialErrors parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
WriteLogEntriesPartialErrors |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WriteLogEntriesPartialErrors |
Type | Description |
IOException |
parseFrom(InputStream input)
public static WriteLogEntriesPartialErrors parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
WriteLogEntriesPartialErrors |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WriteLogEntriesPartialErrors |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static WriteLogEntriesPartialErrors parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
WriteLogEntriesPartialErrors |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
WriteLogEntriesPartialErrors |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<WriteLogEntriesPartialErrors> parser()
Type | Description |
Parser<WriteLogEntriesPartialErrors> |
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;
Name | Description |
key | int |
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public WriteLogEntriesPartialErrors getDefaultInstanceForType()
Type | Description |
WriteLogEntriesPartialErrors |
getLogEntryErrors()
public Map<Integer,Status> getLogEntryErrors()
Use #getLogEntryErrorsMap() instead.
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;
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;
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;
Name | Description |
key | int |
defaultValue | com.google.rpc.Status |
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;
Name | Description |
key | int |
Type | Description |
com.google.rpc.Status |
getParserForType()
public Parser<WriteLogEntriesPartialErrors> getParserForType()
Type | Description |
Parser<WriteLogEntriesPartialErrors> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public WriteLogEntriesPartialErrors.Builder newBuilderForType()
Type | Description |
WriteLogEntriesPartialErrors.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WriteLogEntriesPartialErrors.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
WriteLogEntriesPartialErrors.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public WriteLogEntriesPartialErrors.Builder toBuilder()
Type | Description |
WriteLogEntriesPartialErrors.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |