Class WriteLogEntriesPartialErrors (3.17.2)

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
Type Description
int

Static Methods

getDefaultInstance()

public static WriteLogEntriesPartialErrors getDefaultInstance()
Returns
Type Description
WriteLogEntriesPartialErrors

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static WriteLogEntriesPartialErrors.Builder newBuilder()
Returns
Type Description
WriteLogEntriesPartialErrors.Builder

newBuilder(WriteLogEntriesPartialErrors prototype)

public static WriteLogEntriesPartialErrors.Builder newBuilder(WriteLogEntriesPartialErrors prototype)
Parameter
Name Description
prototype WriteLogEntriesPartialErrors
Returns
Type Description
WriteLogEntriesPartialErrors.Builder

parseDelimitedFrom(InputStream input)

public static WriteLogEntriesPartialErrors parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WriteLogEntriesPartialErrors
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteLogEntriesPartialErrors parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteLogEntriesPartialErrors
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WriteLogEntriesPartialErrors parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WriteLogEntriesPartialErrors
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WriteLogEntriesPartialErrors parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteLogEntriesPartialErrors
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WriteLogEntriesPartialErrors parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WriteLogEntriesPartialErrors
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WriteLogEntriesPartialErrors parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteLogEntriesPartialErrors
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WriteLogEntriesPartialErrors parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WriteLogEntriesPartialErrors
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteLogEntriesPartialErrors parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteLogEntriesPartialErrors
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WriteLogEntriesPartialErrors parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WriteLogEntriesPartialErrors
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteLogEntriesPartialErrors parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteLogEntriesPartialErrors
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WriteLogEntriesPartialErrors parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WriteLogEntriesPartialErrors
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WriteLogEntriesPartialErrors parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WriteLogEntriesPartialErrors
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WriteLogEntriesPartialErrors> parser()
Returns
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;

Parameter
Name Description
key int
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public WriteLogEntriesPartialErrors getDefaultInstanceForType()
Returns
Type Description
WriteLogEntriesPartialErrors

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

getParserForType()

public Parser<WriteLogEntriesPartialErrors> getParserForType()
Returns
Type Description
Parser<WriteLogEntriesPartialErrors>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
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.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WriteLogEntriesPartialErrors.Builder newBuilderForType()
Returns
Type Description
WriteLogEntriesPartialErrors.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WriteLogEntriesPartialErrors.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WriteLogEntriesPartialErrors.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WriteLogEntriesPartialErrors.Builder toBuilder()
Returns
Type Description
WriteLogEntriesPartialErrors.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException