Class WriteLogEntriesPartialErrors (3.10.4)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static WriteLogEntriesPartialErrors getDefaultInstance()
Returns
TypeDescription
WriteLogEntriesPartialErrors

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WriteLogEntriesPartialErrors.Builder newBuilder()
Returns
TypeDescription
WriteLogEntriesPartialErrors.Builder

newBuilder(WriteLogEntriesPartialErrors prototype)

public static WriteLogEntriesPartialErrors.Builder newBuilder(WriteLogEntriesPartialErrors prototype)
Parameter
NameDescription
prototypeWriteLogEntriesPartialErrors
Returns
TypeDescription
WriteLogEntriesPartialErrors.Builder

parseDelimitedFrom(InputStream input)

public static WriteLogEntriesPartialErrors parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WriteLogEntriesPartialErrors
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteLogEntriesPartialErrors parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WriteLogEntriesPartialErrors
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WriteLogEntriesPartialErrors parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WriteLogEntriesPartialErrors
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WriteLogEntriesPartialErrors parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WriteLogEntriesPartialErrors
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WriteLogEntriesPartialErrors parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WriteLogEntriesPartialErrors
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WriteLogEntriesPartialErrors parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WriteLogEntriesPartialErrors
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WriteLogEntriesPartialErrors parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WriteLogEntriesPartialErrors
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteLogEntriesPartialErrors parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WriteLogEntriesPartialErrors
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WriteLogEntriesPartialErrors parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WriteLogEntriesPartialErrors
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WriteLogEntriesPartialErrors parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WriteLogEntriesPartialErrors
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WriteLogEntriesPartialErrors parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WriteLogEntriesPartialErrors
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WriteLogEntriesPartialErrors parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WriteLogEntriesPartialErrors
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WriteLogEntriesPartialErrors> parser()
Returns
TypeDescription
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
NameDescription
keyint
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public WriteLogEntriesPartialErrors getDefaultInstanceForType()
Returns
TypeDescription
WriteLogEntriesPartialErrors

getLogEntryErrors()

public Map<Integer,Status> getLogEntryErrors()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyint
defaultValuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
keyint
Returns
TypeDescription
com.google.rpc.Status

getParserForType()

public Parser<WriteLogEntriesPartialErrors> getParserForType()
Returns
TypeDescription
Parser<WriteLogEntriesPartialErrors>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WriteLogEntriesPartialErrors.Builder newBuilderForType()
Returns
TypeDescription
WriteLogEntriesPartialErrors.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WriteLogEntriesPartialErrors.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WriteLogEntriesPartialErrors.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WriteLogEntriesPartialErrors.Builder toBuilder()
Returns
TypeDescription
WriteLogEntriesPartialErrors.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException