Package com.authzed.api.v1
Class BulkExportRelationshipsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BulkExportRelationshipsRequest.Builder>
com.authzed.api.v1.BulkExportRelationshipsRequest.Builder
- All Implemented Interfaces:
BulkExportRelationshipsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- BulkExportRelationshipsRequest
public static final class BulkExportRelationshipsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BulkExportRelationshipsRequest.Builder>
implements BulkExportRelationshipsRequestOrBuilder
BulkExportRelationshipsRequest represents a resumable request for all relationships from the server.Protobuf type
authzed.api.v1.BulkExportRelationshipsRequest
-
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.Descriptor
com.google.protobuf.Descriptors.Descriptor
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.optional_cursor, if specified, indicates the cursor after which results should resume being returned.int
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.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;
boolean
optional_cursor, if specified, indicates the cursor after which results should resume being returned.boolean
optional_relationship_filter, if specified, indicates the filter to apply to each relationship to be exported.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeConsistency
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<BulkExportRelationshipsRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<BulkExportRelationshipsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<BulkExportRelationshipsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BulkExportRelationshipsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<BulkExportRelationshipsRequest.Builder>
-
mergeFrom
public BulkExportRelationshipsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BulkExportRelationshipsRequest.Builder>
- Throws:
IOException
-
hasConsistency
public boolean hasConsistency().authzed.api.v1.Consistency consistency = 1;
- Specified by:
hasConsistency
in interfaceBulkExportRelationshipsRequestOrBuilder
- Returns:
- Whether the consistency field is set.
-
getConsistency
.authzed.api.v1.Consistency consistency = 1;
- Specified by:
getConsistency
in interfaceBulkExportRelationshipsRequestOrBuilder
- 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:
getConsistencyOrBuilder
in interfaceBulkExportRelationshipsRequestOrBuilder
-
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 interfaceBulkExportRelationshipsRequestOrBuilder
- 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:
hasOptionalCursor
in interfaceBulkExportRelationshipsRequestOrBuilder
- 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:
getOptionalCursor
in interfaceBulkExportRelationshipsRequestOrBuilder
- 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:
getOptionalCursorOrBuilder
in interfaceBulkExportRelationshipsRequestOrBuilder
-
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 interfaceBulkExportRelationshipsRequestOrBuilder
- 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:
getOptionalRelationshipFilter
in interfaceBulkExportRelationshipsRequestOrBuilder
- Returns:
- The optionalRelationshipFilter.
-
setOptionalRelationshipFilter
public BulkExportRelationshipsRequest.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 BulkExportRelationshipsRequest.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 BulkExportRelationshipsRequest.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:
getOptionalRelationshipFilterOrBuilder
in interfaceBulkExportRelationshipsRequestOrBuilder
-