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.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(WriteLogEntriesPartialErrors other)
WriteLogEntriesPartialErrors.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
WriteLogEntriesPartialErrors.Builder
mergeFrom(com.google.protobuf.Message 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)
-
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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
clear
public WriteLogEntriesPartialErrors.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
getDefaultInstanceForType
public WriteLogEntriesPartialErrors getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public WriteLogEntriesPartialErrors build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WriteLogEntriesPartialErrors buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WriteLogEntriesPartialErrors.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
setField
public WriteLogEntriesPartialErrors.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
clearField
public WriteLogEntriesPartialErrors.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
clearOneof
public WriteLogEntriesPartialErrors.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
setRepeatedField
public WriteLogEntriesPartialErrors.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
addRepeatedField
public WriteLogEntriesPartialErrors.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
mergeFrom
public WriteLogEntriesPartialErrors.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WriteLogEntriesPartialErrors.Builder>
-
mergeFrom
public WriteLogEntriesPartialErrors.Builder mergeFrom(WriteLogEntriesPartialErrors other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<WriteLogEntriesPartialErrors.Builder>
- Throws:
IOException
-
getLogEntryErrorsCount
public int getLogEntryErrorsCount()
Description copied from interface: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;
- Specified by:
getLogEntryErrorsCount
in 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:
containsLogEntryErrors
in interfaceWriteLogEntriesPartialErrorsOrBuilder
-
getLogEntryErrors
@Deprecated public Map<Integer,com.google.rpc.Status> getLogEntryErrors()
Deprecated.UsegetLogEntryErrorsMap()
instead.- Specified by:
getLogEntryErrors
in 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:
getLogEntryErrorsMap
in 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:
getLogEntryErrorsOrDefault
in 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:
getLogEntryErrorsOrThrow
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
mergeUnknownFields
public final WriteLogEntriesPartialErrors.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
-
-