Package com.google.logging.v2
Class WriteLogEntriesPartialErrors.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
- com.google.logging.v2.WriteLogEntriesPartialErrors.Builder
-
- All Implemented Interfaces:
WriteLogEntriesPartialErrorsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- WriteLogEntriesPartialErrors
public static final class WriteLogEntriesPartialErrors.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder> implements WriteLogEntriesPartialErrorsOrBuilder
Error details for WriteLogEntries with partial success.
Protobuf typegoogle.logging.v2.WriteLogEntriesPartialErrors
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description WriteLogEntriesPartialErrors.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)WriteLogEntriesPartialErrorsbuild()WriteLogEntriesPartialErrorsbuildPartial()WriteLogEntriesPartialErrors.Builderclear()WriteLogEntriesPartialErrors.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WriteLogEntriesPartialErrors.BuilderclearLogEntryErrors()WriteLogEntriesPartialErrors.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WriteLogEntriesPartialErrors.Builderclone()booleancontainsLogEntryErrors(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`.WriteLogEntriesPartialErrorsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Map<Integer,com.google.rpc.Status>getLogEntryErrors()Deprecated.intgetLogEntryErrorsCount()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.StatusgetLogEntryErrorsOrDefault(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.StatusgetLogEntryErrorsOrThrow(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.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()WriteLogEntriesPartialErrors.BuildermergeFrom(WriteLogEntriesPartialErrors other)WriteLogEntriesPartialErrors.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WriteLogEntriesPartialErrors.BuildermergeFrom(com.google.protobuf.Message other)WriteLogEntriesPartialErrors.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WriteLogEntriesPartialErrors.BuilderputAllLogEntryErrors(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.BuilderputLogEntryErrors(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.BuilderremoveLogEntryErrors(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.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)WriteLogEntriesPartialErrors.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)WriteLogEntriesPartialErrors.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
clear
public WriteLogEntriesPartialErrors.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
getDefaultInstanceForType
public WriteLogEntriesPartialErrors getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WriteLogEntriesPartialErrors build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WriteLogEntriesPartialErrors buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WriteLogEntriesPartialErrors.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
setField
public WriteLogEntriesPartialErrors.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
clearField
public WriteLogEntriesPartialErrors.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
clearOneof
public WriteLogEntriesPartialErrors.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
setRepeatedField
public WriteLogEntriesPartialErrors.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
addRepeatedField
public WriteLogEntriesPartialErrors.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
mergeFrom
public WriteLogEntriesPartialErrors.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WriteLogEntriesPartialErrors.Builder>
-
mergeFrom
public WriteLogEntriesPartialErrors.Builder mergeFrom(WriteLogEntriesPartialErrors other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
mergeFrom
public WriteLogEntriesPartialErrors.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WriteLogEntriesPartialErrors.Builder>- Throws:
IOException
-
getLogEntryErrorsCount
public int getLogEntryErrorsCount()
Description copied from interface:WriteLogEntriesPartialErrorsOrBuilderWhen `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;- Specified by:
getLogEntryErrorsCountin interfaceWriteLogEntriesPartialErrorsOrBuilder
-
containsLogEntryErrors
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;- Specified by:
containsLogEntryErrorsin interfaceWriteLogEntriesPartialErrorsOrBuilder
-
getLogEntryErrors
@Deprecated public Map<Integer,com.google.rpc.Status> getLogEntryErrors()
Deprecated.UsegetLogEntryErrorsMap()instead.- Specified by:
getLogEntryErrorsin interfaceWriteLogEntriesPartialErrorsOrBuilder
-
getLogEntryErrorsMap
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;- Specified by:
getLogEntryErrorsMapin interfaceWriteLogEntriesPartialErrorsOrBuilder
-
getLogEntryErrorsOrDefault
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;- Specified by:
getLogEntryErrorsOrDefaultin interfaceWriteLogEntriesPartialErrorsOrBuilder
-
getLogEntryErrorsOrThrow
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;- Specified by:
getLogEntryErrorsOrThrowin interfaceWriteLogEntriesPartialErrorsOrBuilder
-
clearLogEntryErrors
public WriteLogEntriesPartialErrors.Builder clearLogEntryErrors()
-
removeLogEntryErrors
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;
-
getMutableLogEntryErrors
@Deprecated public Map<Integer,com.google.rpc.Status> getMutableLogEntryErrors()
Deprecated.Use alternate mutation accessors instead.
-
putLogEntryErrors
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;
-
putAllLogEntryErrors
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;
-
setUnknownFields
public final WriteLogEntriesPartialErrors.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
mergeUnknownFields
public final WriteLogEntriesPartialErrors.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
-