Package com.authzed.api.v1alpha1
Interface Schema.WriteSchemaRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Schema.WriteSchemaRequest
,Schema.WriteSchemaRequest.Builder
- Enclosing class:
- Schema
public static interface Schema.WriteSchemaRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIf specified, the existing revision of object definitions in the schema that must be present for the write to succeed.com.google.protobuf.ByteString
If specified, the existing revision of object definitions in the schema that must be present for the write to succeed.The Schema containing one or more Object Definitions that will be written to the Permissions System.com.google.protobuf.ByteString
The Schema containing one or more Object Definitions that will be written to the Permissions System.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
-
getSchema
String getSchema()The Schema containing one or more Object Definitions that will be written to the Permissions System.
string schema = 1 [(.validate.rules) = { ... }
- Returns:
- The schema.
-
getSchemaBytes
com.google.protobuf.ByteString getSchemaBytes()The Schema containing one or more Object Definitions that will be written to the Permissions System.
string schema = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for schema.
-
getOptionalDefinitionsRevisionPrecondition
String getOptionalDefinitionsRevisionPrecondition()If specified, the existing revision of object definitions in the schema that must be present for the write to succeed. If the revision specified differs (i.e. the underlying schema has changed), the write call will fail with a FAILED_PRECONDITION error.
string optional_definitions_revision_precondition = 2;
- Returns:
- The optionalDefinitionsRevisionPrecondition.
-
getOptionalDefinitionsRevisionPreconditionBytes
com.google.protobuf.ByteString getOptionalDefinitionsRevisionPreconditionBytes()If specified, the existing revision of object definitions in the schema that must be present for the write to succeed. If the revision specified differs (i.e. the underlying schema has changed), the write call will fail with a FAILED_PRECONDITION error.
string optional_definitions_revision_precondition = 2;
- Returns:
- The bytes for optionalDefinitionsRevisionPrecondition.
-