Package com.authzed.api.v1
Interface ExpandPermissionTreeRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExpandPermissionTreeRequest
,ExpandPermissionTreeRequest.Builder
public interface ExpandPermissionTreeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.authzed.api.v1.Consistency consistency = 1;
.authzed.api.v1.Consistency consistency = 1;
permission is the name of the permission or relation over which to run the expansion for the resource.com.google.protobuf.ByteString
permission is the name of the permission or relation over which to run the expansion for the resource.resource is the resource over which to run the expansion.resource is the resource over which to run the expansion.boolean
.authzed.api.v1.Consistency consistency = 1;
boolean
resource is the resource over which to run the expansion.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasConsistency
boolean hasConsistency().authzed.api.v1.Consistency consistency = 1;
- Returns:
- Whether the consistency field is set.
-
getConsistency
Consistency getConsistency().authzed.api.v1.Consistency consistency = 1;
- Returns:
- The consistency.
-
getConsistencyOrBuilder
ConsistencyOrBuilder getConsistencyOrBuilder().authzed.api.v1.Consistency consistency = 1;
-
hasResource
boolean hasResource()resource is the resource over which to run the expansion.
.authzed.api.v1.ObjectReference resource = 2 [(.validate.rules) = { ... }
- Returns:
- Whether the resource field is set.
-
getResource
ObjectReference getResource()resource is the resource over which to run the expansion.
.authzed.api.v1.ObjectReference resource = 2 [(.validate.rules) = { ... }
- Returns:
- The resource.
-
getResourceOrBuilder
ObjectReferenceOrBuilder getResourceOrBuilder()resource is the resource over which to run the expansion.
.authzed.api.v1.ObjectReference resource = 2 [(.validate.rules) = { ... }
-
getPermission
String getPermission()permission is the name of the permission or relation over which to run the expansion for the resource.
string permission = 3 [(.validate.rules) = { ... }
- Returns:
- The permission.
-
getPermissionBytes
com.google.protobuf.ByteString getPermissionBytes()permission is the name of the permission or relation over which to run the expansion for the resource.
string permission = 3 [(.validate.rules) = { ... }
- Returns:
- The bytes for permission.
-