Class BulkImportRelationshipsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BulkImportRelationshipsResponse.Builder>
com.authzed.api.v1.BulkImportRelationshipsResponse.Builder
All Implemented Interfaces:
BulkImportRelationshipsResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BulkImportRelationshipsResponse

public static final class BulkImportRelationshipsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<BulkImportRelationshipsResponse.Builder> implements BulkImportRelationshipsResponseOrBuilder
 BulkImportRelationshipsResponse is returned on successful completion of the
 bulk load stream, and contains the total number of relationships loaded.
 
Protobuf type authzed.api.v1.BulkImportRelationshipsResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BulkImportRelationshipsResponse.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<BulkImportRelationshipsResponse.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<BulkImportRelationshipsResponse.Builder>
    • getDefaultInstanceForType

      public BulkImportRelationshipsResponse 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 BulkImportRelationshipsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BulkImportRelationshipsResponse.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<BulkImportRelationshipsResponse.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<BulkImportRelationshipsResponse.Builder>
    • mergeFrom

      public BulkImportRelationshipsResponse.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<BulkImportRelationshipsResponse.Builder>
      Throws:
      IOException
    • getNumLoaded

      public long getNumLoaded()
      uint64 num_loaded = 1;
      Specified by:
      getNumLoaded in interface BulkImportRelationshipsResponseOrBuilder
      Returns:
      The numLoaded.
    • setNumLoaded

      public BulkImportRelationshipsResponse.Builder setNumLoaded(long value)
      uint64 num_loaded = 1;
      Parameters:
      value - The numLoaded to set.
      Returns:
      This builder for chaining.
    • clearNumLoaded

      public BulkImportRelationshipsResponse.Builder clearNumLoaded()
      uint64 num_loaded = 1;
      Returns:
      This builder for chaining.