Class ExportBulkRelationshipsRequest.Builder

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

public static final class ExportBulkRelationshipsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportBulkRelationshipsRequest.Builder> implements ExportBulkRelationshipsRequestOrBuilder
 ExportBulkRelationshipsRequest represents a resumable request for
 all relationships from the server.
 
Protobuf type authzed.api.v1.ExportBulkRelationshipsRequest
  • 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<ExportBulkRelationshipsRequest.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<ExportBulkRelationshipsRequest.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<ExportBulkRelationshipsRequest.Builder>
    • getDefaultInstanceForType

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

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

      public ExportBulkRelationshipsRequest.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<ExportBulkRelationshipsRequest.Builder>
      Throws:
      IOException
    • hasConsistency

      public boolean hasConsistency()
      .authzed.api.v1.Consistency consistency = 1;
      Specified by:
      hasConsistency in interface ExportBulkRelationshipsRequestOrBuilder
      Returns:
      Whether the consistency field is set.
    • getConsistency

      public Consistency getConsistency()
      .authzed.api.v1.Consistency consistency = 1;
      Specified by:
      getConsistency in interface ExportBulkRelationshipsRequestOrBuilder
      Returns:
      The consistency.
    • setConsistency

      public ExportBulkRelationshipsRequest.Builder setConsistency(Consistency value)
      .authzed.api.v1.Consistency consistency = 1;
    • setConsistency

      public ExportBulkRelationshipsRequest.Builder setConsistency(Consistency.Builder builderForValue)
      .authzed.api.v1.Consistency consistency = 1;
    • mergeConsistency

      public ExportBulkRelationshipsRequest.Builder mergeConsistency(Consistency value)
      .authzed.api.v1.Consistency consistency = 1;
    • clearConsistency

      public ExportBulkRelationshipsRequest.Builder clearConsistency()
      .authzed.api.v1.Consistency consistency = 1;
    • getConsistencyBuilder

      public Consistency.Builder getConsistencyBuilder()
      .authzed.api.v1.Consistency consistency = 1;
    • getConsistencyOrBuilder

      public ConsistencyOrBuilder getConsistencyOrBuilder()
      .authzed.api.v1.Consistency consistency = 1;
      Specified by:
      getConsistencyOrBuilder in interface ExportBulkRelationshipsRequestOrBuilder
    • getOptionalLimit

      public int getOptionalLimit()
       optional_limit, if non-zero, specifies the limit on the number of
       relationships the server can return in one page. By default, the server
       will pick a page size, and the server is free to choose a smaller size
       at will.
       
      uint32 optional_limit = 2 [(.validate.rules) = { ... }
      Specified by:
      getOptionalLimit in interface ExportBulkRelationshipsRequestOrBuilder
      Returns:
      The optionalLimit.
    • setOptionalLimit

      public ExportBulkRelationshipsRequest.Builder setOptionalLimit(int value)
       optional_limit, if non-zero, specifies the limit on the number of
       relationships the server can return in one page. By default, the server
       will pick a page size, and the server is free to choose a smaller size
       at will.
       
      uint32 optional_limit = 2 [(.validate.rules) = { ... }
      Parameters:
      value - The optionalLimit to set.
      Returns:
      This builder for chaining.
    • clearOptionalLimit

      public ExportBulkRelationshipsRequest.Builder clearOptionalLimit()
       optional_limit, if non-zero, specifies the limit on the number of
       relationships the server can return in one page. By default, the server
       will pick a page size, and the server is free to choose a smaller size
       at will.
       
      uint32 optional_limit = 2 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • hasOptionalCursor

      public boolean hasOptionalCursor()
       optional_cursor, if specified, indicates the cursor after which results
       should resume being returned. The cursor can be found on the
       BulkExportRelationshipsResponse object.
       
      .authzed.api.v1.Cursor optional_cursor = 3;
      Specified by:
      hasOptionalCursor in interface ExportBulkRelationshipsRequestOrBuilder
      Returns:
      Whether the optionalCursor field is set.
    • getOptionalCursor

      public Cursor getOptionalCursor()
       optional_cursor, if specified, indicates the cursor after which results
       should resume being returned. The cursor can be found on the
       BulkExportRelationshipsResponse object.
       
      .authzed.api.v1.Cursor optional_cursor = 3;
      Specified by:
      getOptionalCursor in interface ExportBulkRelationshipsRequestOrBuilder
      Returns:
      The optionalCursor.
    • setOptionalCursor

      public ExportBulkRelationshipsRequest.Builder setOptionalCursor(Cursor value)
       optional_cursor, if specified, indicates the cursor after which results
       should resume being returned. The cursor can be found on the
       BulkExportRelationshipsResponse object.
       
      .authzed.api.v1.Cursor optional_cursor = 3;
    • setOptionalCursor

      public ExportBulkRelationshipsRequest.Builder setOptionalCursor(Cursor.Builder builderForValue)
       optional_cursor, if specified, indicates the cursor after which results
       should resume being returned. The cursor can be found on the
       BulkExportRelationshipsResponse object.
       
      .authzed.api.v1.Cursor optional_cursor = 3;
    • mergeOptionalCursor

      public ExportBulkRelationshipsRequest.Builder mergeOptionalCursor(Cursor value)
       optional_cursor, if specified, indicates the cursor after which results
       should resume being returned. The cursor can be found on the
       BulkExportRelationshipsResponse object.
       
      .authzed.api.v1.Cursor optional_cursor = 3;
    • clearOptionalCursor

      public ExportBulkRelationshipsRequest.Builder clearOptionalCursor()
       optional_cursor, if specified, indicates the cursor after which results
       should resume being returned. The cursor can be found on the
       BulkExportRelationshipsResponse object.
       
      .authzed.api.v1.Cursor optional_cursor = 3;
    • getOptionalCursorBuilder

      public Cursor.Builder getOptionalCursorBuilder()
       optional_cursor, if specified, indicates the cursor after which results
       should resume being returned. The cursor can be found on the
       BulkExportRelationshipsResponse object.
       
      .authzed.api.v1.Cursor optional_cursor = 3;
    • getOptionalCursorOrBuilder

      public CursorOrBuilder getOptionalCursorOrBuilder()
       optional_cursor, if specified, indicates the cursor after which results
       should resume being returned. The cursor can be found on the
       BulkExportRelationshipsResponse object.
       
      .authzed.api.v1.Cursor optional_cursor = 3;
      Specified by:
      getOptionalCursorOrBuilder in interface ExportBulkRelationshipsRequestOrBuilder
    • hasOptionalRelationshipFilter

      public boolean hasOptionalRelationshipFilter()
       optional_relationship_filter, if specified, indicates the
       filter to apply to each relationship to be exported.
       
      .authzed.api.v1.RelationshipFilter optional_relationship_filter = 4;
      Specified by:
      hasOptionalRelationshipFilter in interface ExportBulkRelationshipsRequestOrBuilder
      Returns:
      Whether the optionalRelationshipFilter field is set.
    • getOptionalRelationshipFilter

      public RelationshipFilter getOptionalRelationshipFilter()
       optional_relationship_filter, if specified, indicates the
       filter to apply to each relationship to be exported.
       
      .authzed.api.v1.RelationshipFilter optional_relationship_filter = 4;
      Specified by:
      getOptionalRelationshipFilter in interface ExportBulkRelationshipsRequestOrBuilder
      Returns:
      The optionalRelationshipFilter.
    • setOptionalRelationshipFilter

      public ExportBulkRelationshipsRequest.Builder setOptionalRelationshipFilter(RelationshipFilter value)
       optional_relationship_filter, if specified, indicates the
       filter to apply to each relationship to be exported.
       
      .authzed.api.v1.RelationshipFilter optional_relationship_filter = 4;
    • setOptionalRelationshipFilter

      public ExportBulkRelationshipsRequest.Builder setOptionalRelationshipFilter(RelationshipFilter.Builder builderForValue)
       optional_relationship_filter, if specified, indicates the
       filter to apply to each relationship to be exported.
       
      .authzed.api.v1.RelationshipFilter optional_relationship_filter = 4;
    • mergeOptionalRelationshipFilter

      public ExportBulkRelationshipsRequest.Builder mergeOptionalRelationshipFilter(RelationshipFilter value)
       optional_relationship_filter, if specified, indicates the
       filter to apply to each relationship to be exported.
       
      .authzed.api.v1.RelationshipFilter optional_relationship_filter = 4;
    • clearOptionalRelationshipFilter

      public ExportBulkRelationshipsRequest.Builder clearOptionalRelationshipFilter()
       optional_relationship_filter, if specified, indicates the
       filter to apply to each relationship to be exported.
       
      .authzed.api.v1.RelationshipFilter optional_relationship_filter = 4;
    • getOptionalRelationshipFilterBuilder

      public RelationshipFilter.Builder getOptionalRelationshipFilterBuilder()
       optional_relationship_filter, if specified, indicates the
       filter to apply to each relationship to be exported.
       
      .authzed.api.v1.RelationshipFilter optional_relationship_filter = 4;
    • getOptionalRelationshipFilterOrBuilder

      public RelationshipFilterOrBuilder getOptionalRelationshipFilterOrBuilder()
       optional_relationship_filter, if specified, indicates the
       filter to apply to each relationship to be exported.
       
      .authzed.api.v1.RelationshipFilter optional_relationship_filter = 4;
      Specified by:
      getOptionalRelationshipFilterOrBuilder in interface ExportBulkRelationshipsRequestOrBuilder