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 type google.logging.v2.WriteLogEntriesPartialErrors
  • 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.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
    • internalGetMutableMapFieldReflection

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
    • setField

      public WriteLogEntriesPartialErrors.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
    • clearField

      public WriteLogEntriesPartialErrors.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
    • clearOneof

      public WriteLogEntriesPartialErrors.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
    • addRepeatedField

      public WriteLogEntriesPartialErrors.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.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.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 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,com.google.rpc.Status> getLogEntryErrors()
      Deprecated.
      Specified by:
      getLogEntryErrors in interface WriteLogEntriesPartialErrorsOrBuilder
    • 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 interface WriteLogEntriesPartialErrorsOrBuilder
    • 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 interface WriteLogEntriesPartialErrorsOrBuilder
    • 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 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,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;
    • putLogEntryErrorsBuilderIfAbsent

      public com.google.rpc.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;
    • setUnknownFields

      public final WriteLogEntriesPartialErrors.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
    • mergeUnknownFields

      public final WriteLogEntriesPartialErrors.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>