public static final class WriteLogEntriesPartialErrors.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder> implements WriteLogEntriesPartialErrorsOrBuilder
Error details for WriteLogEntries with partial success.Protobuf type
google.logging.v2.WriteLogEntriesPartialErrors
Modifier and Type | Method and Description |
---|---|
WriteLogEntriesPartialErrors.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WriteLogEntriesPartialErrors |
build() |
WriteLogEntriesPartialErrors |
buildPartial() |
WriteLogEntriesPartialErrors.Builder |
clear() |
WriteLogEntriesPartialErrors.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WriteLogEntriesPartialErrors.Builder |
clearLogEntryErrors() |
WriteLogEntriesPartialErrors.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WriteLogEntriesPartialErrors.Builder |
clone() |
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`.
|
WriteLogEntriesPartialErrors |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<Integer,com.google.rpc.Status> |
getLogEntryErrors()
Deprecated.
|
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`.
|
Map<Integer,com.google.rpc.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`.
|
com.google.rpc.Status |
getLogEntryErrorsOrDefault(int key,
com.google.rpc.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`.
|
com.google.rpc.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`.
|
Map<Integer,com.google.rpc.Status> |
getMutableLogEntryErrors()
Deprecated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
WriteLogEntriesPartialErrors.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WriteLogEntriesPartialErrors.Builder |
mergeFrom(com.google.protobuf.Message other) |
WriteLogEntriesPartialErrors.Builder |
mergeFrom(WriteLogEntriesPartialErrors other) |
WriteLogEntriesPartialErrors.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WriteLogEntriesPartialErrors.Builder |
putAllLogEntryErrors(Map<Integer,com.google.rpc.Status> values)
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`.
|
WriteLogEntriesPartialErrors.Builder |
putLogEntryErrors(int key,
com.google.rpc.Status value)
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`.
|
WriteLogEntriesPartialErrors.Builder |
removeLogEntryErrors(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`.
|
WriteLogEntriesPartialErrors.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WriteLogEntriesPartialErrors.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
WriteLogEntriesPartialErrors.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
public WriteLogEntriesPartialErrors.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
public WriteLogEntriesPartialErrors getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public WriteLogEntriesPartialErrors build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public WriteLogEntriesPartialErrors buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public WriteLogEntriesPartialErrors.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
public WriteLogEntriesPartialErrors.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
public WriteLogEntriesPartialErrors.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
public WriteLogEntriesPartialErrors.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
public WriteLogEntriesPartialErrors.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
public WriteLogEntriesPartialErrors.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
public WriteLogEntriesPartialErrors.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WriteLogEntriesPartialErrors.Builder>
public WriteLogEntriesPartialErrors.Builder mergeFrom(WriteLogEntriesPartialErrors other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
public WriteLogEntriesPartialErrors.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WriteLogEntriesPartialErrors.Builder>
IOException
public int getLogEntryErrorsCount()
WriteLogEntriesPartialErrorsOrBuilder
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;
getLogEntryErrorsCount
in interface WriteLogEntriesPartialErrorsOrBuilder
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;
containsLogEntryErrors
in interface WriteLogEntriesPartialErrorsOrBuilder
@Deprecated public Map<Integer,com.google.rpc.Status> getLogEntryErrors()
getLogEntryErrorsMap()
instead.getLogEntryErrors
in interface WriteLogEntriesPartialErrorsOrBuilder
public Map<Integer,com.google.rpc.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;
getLogEntryErrorsMap
in interface WriteLogEntriesPartialErrorsOrBuilder
public com.google.rpc.Status getLogEntryErrorsOrDefault(int key, com.google.rpc.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;
getLogEntryErrorsOrDefault
in interface WriteLogEntriesPartialErrorsOrBuilder
public com.google.rpc.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;
getLogEntryErrorsOrThrow
in interface WriteLogEntriesPartialErrorsOrBuilder
public WriteLogEntriesPartialErrors.Builder clearLogEntryErrors()
public WriteLogEntriesPartialErrors.Builder removeLogEntryErrors(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;
@Deprecated public Map<Integer,com.google.rpc.Status> getMutableLogEntryErrors()
public WriteLogEntriesPartialErrors.Builder putLogEntryErrors(int key, com.google.rpc.Status value)
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;
public WriteLogEntriesPartialErrors.Builder putAllLogEntryErrors(Map<Integer,com.google.rpc.Status> values)
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;
public final WriteLogEntriesPartialErrors.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
public final WriteLogEntriesPartialErrors.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
Copyright © 2023 Google LLC. All rights reserved.