Class WriteLogEntriesPartialErrors.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<WriteLogEntriesPartialErrors.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField 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>
      • 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

        public WriteLogEntriesPartialErrors 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
      • 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
      • 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
      • 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;