Class WriteLogEntriesPartialErrors.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<WriteLogEntriesPartialErrors.Builder> implements WriteLogEntriesPartialErrorsOrBuilder
 Error details for WriteLogEntries with partial success.
 
Protobuf type google.logging.v2.WriteLogEntriesPartialErrors
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
    boolean
    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`.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Deprecated.
    int
    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`.
    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`.
    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`.
    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`.
    Deprecated.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    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`.
    putLogEntryErrors(int key, 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`.
    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`.
    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`.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<WriteLogEntriesPartialErrors.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<WriteLogEntriesPartialErrors.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<WriteLogEntriesPartialErrors.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<WriteLogEntriesPartialErrors.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<WriteLogEntriesPartialErrors.Builder>
    • getDefaultInstanceForType

      public WriteLogEntriesPartialErrors getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public WriteLogEntriesPartialErrors buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public WriteLogEntriesPartialErrors.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WriteLogEntriesPartialErrors.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<WriteLogEntriesPartialErrors.Builder>
    • mergeFrom

      public WriteLogEntriesPartialErrors.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface WriteLogEntriesPartialErrorsOrBuilder
    • 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 interface WriteLogEntriesPartialErrorsOrBuilder
    • getLogEntryErrors

      @Deprecated public Map<Integer,Status> getLogEntryErrors()
      Deprecated.
      Specified by:
      getLogEntryErrors in interface WriteLogEntriesPartialErrorsOrBuilder
    • 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;
      Specified by:
      getLogEntryErrorsMap in interface WriteLogEntriesPartialErrorsOrBuilder
    • getLogEntryErrorsOrDefault

      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;
      Specified by:
      getLogEntryErrorsOrDefault in interface WriteLogEntriesPartialErrorsOrBuilder
    • getLogEntryErrorsOrThrow

      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;
      Specified by:
      getLogEntryErrorsOrThrow in interface WriteLogEntriesPartialErrorsOrBuilder
    • 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,Status> getMutableLogEntryErrors()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLogEntryErrors

      public WriteLogEntriesPartialErrors.Builder putLogEntryErrors(int key, 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,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;
    • putLogEntryErrorsBuilderIfAbsent

      public Status.Builder putLogEntryErrorsBuilderIfAbsent(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;