Package com.authzed.api.v1
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 Summary
Modifier and TypeMethodDescriptionbuild()clear().authzed.api.v1.Consistency consistency = 1;optional_cursor, if specified, indicates the cursor after which results should resume being returned.optional_limit, if non-zero, specifies the limit on the number of relationships the server can return in one page.optional_relationship_filter, if specified, indicates the filter to apply to each relationship to be exported..authzed.api.v1.Consistency consistency = 1;.authzed.api.v1.Consistency consistency = 1;.authzed.api.v1.Consistency consistency = 1;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional_cursor, if specified, indicates the cursor after which results should resume being returned.optional_cursor, if specified, indicates the cursor after which results should resume being returned.optional_cursor, if specified, indicates the cursor after which results should resume being returned.intoptional_limit, if non-zero, specifies the limit on the number of relationships the server can return in one page.optional_relationship_filter, if specified, indicates the filter to apply to each relationship to be exported.optional_relationship_filter, if specified, indicates the filter to apply to each relationship to be exported.optional_relationship_filter, if specified, indicates the filter to apply to each relationship to be exported.boolean.authzed.api.v1.Consistency consistency = 1;booleanoptional_cursor, if specified, indicates the cursor after which results should resume being returned.booleanoptional_relationship_filter, if specified, indicates the filter to apply to each relationship to be exported.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeConsistency(Consistency value) .authzed.api.v1.Consistency consistency = 1;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOptionalCursor(Cursor value) optional_cursor, if specified, indicates the cursor after which results should resume being returned.optional_relationship_filter, if specified, indicates the filter to apply to each relationship to be exported.setConsistency(Consistency value) .authzed.api.v1.Consistency consistency = 1;setConsistency(Consistency.Builder builderForValue) .authzed.api.v1.Consistency consistency = 1;setOptionalCursor(Cursor value) optional_cursor, if specified, indicates the cursor after which results should resume being returned.setOptionalCursor(Cursor.Builder builderForValue) optional_cursor, if specified, indicates the cursor after which results should resume being returned.setOptionalLimit(int value) optional_limit, if non-zero, specifies the limit on the number of relationships the server can return in one page.optional_relationship_filter, if specified, indicates the filter to apply to each relationship to be exported.setOptionalRelationshipFilter(RelationshipFilter.Builder builderForValue) optional_relationship_filter, if specified, indicates the filter to apply to each relationship to be exported.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExportBulkRelationshipsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExportBulkRelationshipsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExportBulkRelationshipsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportBulkRelationshipsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportBulkRelationshipsRequest.Builder>- Throws:
IOException
-
hasConsistency
public boolean hasConsistency().authzed.api.v1.Consistency consistency = 1;- Specified by:
hasConsistencyin interfaceExportBulkRelationshipsRequestOrBuilder- Returns:
- Whether the consistency field is set.
-
getConsistency
.authzed.api.v1.Consistency consistency = 1;- Specified by:
getConsistencyin interfaceExportBulkRelationshipsRequestOrBuilder- Returns:
- The consistency.
-
setConsistency
.authzed.api.v1.Consistency consistency = 1; -
setConsistency
.authzed.api.v1.Consistency consistency = 1; -
mergeConsistency
.authzed.api.v1.Consistency consistency = 1; -
clearConsistency
.authzed.api.v1.Consistency consistency = 1; -
getConsistencyBuilder
.authzed.api.v1.Consistency consistency = 1; -
getConsistencyOrBuilder
.authzed.api.v1.Consistency consistency = 1;- Specified by:
getConsistencyOrBuilderin interfaceExportBulkRelationshipsRequestOrBuilder
-
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:
getOptionalLimitin interfaceExportBulkRelationshipsRequestOrBuilder- Returns:
- The optionalLimit.
-
setOptionalLimit
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
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:
hasOptionalCursorin interfaceExportBulkRelationshipsRequestOrBuilder- Returns:
- Whether the optionalCursor field is set.
-
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:
getOptionalCursorin interfaceExportBulkRelationshipsRequestOrBuilder- Returns:
- The optionalCursor.
-
setOptionalCursor
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
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
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
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
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
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:
getOptionalCursorOrBuilderin interfaceExportBulkRelationshipsRequestOrBuilder
-
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:
hasOptionalRelationshipFilterin interfaceExportBulkRelationshipsRequestOrBuilder- Returns:
- Whether the optionalRelationshipFilter field is set.
-
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:
getOptionalRelationshipFilterin interfaceExportBulkRelationshipsRequestOrBuilder- 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
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
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
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:
getOptionalRelationshipFilterOrBuilderin interfaceExportBulkRelationshipsRequestOrBuilder
-