public final class WriteLogEntriesPartialErrors extends GeneratedMessageV3 implements WriteLogEntriesPartialErrorsOrBuilder
Error details for WriteLogEntries with partial success.
Protobuf type google.logging.v2.WriteLogEntriesPartialErrors
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WriteLogEntriesPartialErrors.Builder newBuilder()
newBuilder(WriteLogEntriesPartialErrors prototype)
public static WriteLogEntriesPartialErrors.Builder newBuilder(WriteLogEntriesPartialErrors prototype)
public static WriteLogEntriesPartialErrors parseDelimitedFrom(InputStream input)
public static WriteLogEntriesPartialErrors parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WriteLogEntriesPartialErrors parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WriteLogEntriesPartialErrors parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseFrom(CodedInputStream input)
public static WriteLogEntriesPartialErrors parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseFrom(InputStream input)
public static WriteLogEntriesPartialErrors parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WriteLogEntriesPartialErrors parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WriteLogEntriesPartialErrors parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WriteLogEntriesPartialErrors> parser()
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public WriteLogEntriesPartialErrors getDefaultInstanceForType()
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 | |
getParserForType()
public Parser<WriteLogEntriesPartialErrors> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WriteLogEntriesPartialErrors.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WriteLogEntriesPartialErrors.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public WriteLogEntriesPartialErrors.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides