Package com.authzed.api.v1
Class ExpSchemaFilter.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExpSchemaFilter.Builder>
com.authzed.api.v1.ExpSchemaFilter.Builder
- All Implemented Interfaces:
ExpSchemaFilterOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ExpSchemaFilter
public static final class ExpSchemaFilter.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExpSchemaFilter.Builder>
implements ExpSchemaFilterOrBuilder
ExpSchemaFilter is a filter that can be applied to the schema on reflection.Protobuf type
authzed.api.v1.ExpSchemaFilter
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
optional_caveat_name_filter is a prefix that is matched against the caveat name.optional_definition_name_filter is a prefix that is matched against the definition name.optional_permission_name_filter is a prefix that is matched against the permission name.optional_relation_name_filter is a prefix that is matched against the relation name.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional_caveat_name_filter is a prefix that is matched against the caveat name.com.google.protobuf.ByteString
optional_caveat_name_filter is a prefix that is matched against the caveat name.optional_definition_name_filter is a prefix that is matched against the definition name.com.google.protobuf.ByteString
optional_definition_name_filter is a prefix that is matched against the definition name.optional_permission_name_filter is a prefix that is matched against the permission name.com.google.protobuf.ByteString
optional_permission_name_filter is a prefix that is matched against the permission name.optional_relation_name_filter is a prefix that is matched against the relation name.com.google.protobuf.ByteString
optional_relation_name_filter is a prefix that is matched against the relation name.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(ExpSchemaFilter other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) optional_caveat_name_filter is a prefix that is matched against the caveat name.setOptionalCaveatNameFilterBytes
(com.google.protobuf.ByteString value) optional_caveat_name_filter is a prefix that is matched against the caveat name.optional_definition_name_filter is a prefix that is matched against the definition name.setOptionalDefinitionNameFilterBytes
(com.google.protobuf.ByteString value) optional_definition_name_filter is a prefix that is matched against the definition name.optional_permission_name_filter is a prefix that is matched against the permission name.setOptionalPermissionNameFilterBytes
(com.google.protobuf.ByteString value) optional_permission_name_filter is a prefix that is matched against the permission name.optional_relation_name_filter is a prefix that is matched against the relation name.setOptionalRelationNameFilterBytes
(com.google.protobuf.ByteString value) optional_relation_name_filter is a prefix that is matched against the relation name.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<ExpSchemaFilter.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<ExpSchemaFilter.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<ExpSchemaFilter.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<ExpSchemaFilter.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ExpSchemaFilter.Builder>
-
mergeFrom
public ExpSchemaFilter.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<ExpSchemaFilter.Builder>
- Throws:
IOException
-
getOptionalDefinitionNameFilter
optional_definition_name_filter is a prefix that is matched against the definition name.
string optional_definition_name_filter = 1;
- Specified by:
getOptionalDefinitionNameFilter
in interfaceExpSchemaFilterOrBuilder
- Returns:
- The optionalDefinitionNameFilter.
-
getOptionalDefinitionNameFilterBytes
public com.google.protobuf.ByteString getOptionalDefinitionNameFilterBytes()optional_definition_name_filter is a prefix that is matched against the definition name.
string optional_definition_name_filter = 1;
- Specified by:
getOptionalDefinitionNameFilterBytes
in interfaceExpSchemaFilterOrBuilder
- Returns:
- The bytes for optionalDefinitionNameFilter.
-
setOptionalDefinitionNameFilter
optional_definition_name_filter is a prefix that is matched against the definition name.
string optional_definition_name_filter = 1;
- Parameters:
value
- The optionalDefinitionNameFilter to set.- Returns:
- This builder for chaining.
-
clearOptionalDefinitionNameFilter
optional_definition_name_filter is a prefix that is matched against the definition name.
string optional_definition_name_filter = 1;
- Returns:
- This builder for chaining.
-
setOptionalDefinitionNameFilterBytes
public ExpSchemaFilter.Builder setOptionalDefinitionNameFilterBytes(com.google.protobuf.ByteString value) optional_definition_name_filter is a prefix that is matched against the definition name.
string optional_definition_name_filter = 1;
- Parameters:
value
- The bytes for optionalDefinitionNameFilter to set.- Returns:
- This builder for chaining.
-
getOptionalCaveatNameFilter
optional_caveat_name_filter is a prefix that is matched against the caveat name.
string optional_caveat_name_filter = 2;
- Specified by:
getOptionalCaveatNameFilter
in interfaceExpSchemaFilterOrBuilder
- Returns:
- The optionalCaveatNameFilter.
-
getOptionalCaveatNameFilterBytes
public com.google.protobuf.ByteString getOptionalCaveatNameFilterBytes()optional_caveat_name_filter is a prefix that is matched against the caveat name.
string optional_caveat_name_filter = 2;
- Specified by:
getOptionalCaveatNameFilterBytes
in interfaceExpSchemaFilterOrBuilder
- Returns:
- The bytes for optionalCaveatNameFilter.
-
setOptionalCaveatNameFilter
optional_caveat_name_filter is a prefix that is matched against the caveat name.
string optional_caveat_name_filter = 2;
- Parameters:
value
- The optionalCaveatNameFilter to set.- Returns:
- This builder for chaining.
-
clearOptionalCaveatNameFilter
optional_caveat_name_filter is a prefix that is matched against the caveat name.
string optional_caveat_name_filter = 2;
- Returns:
- This builder for chaining.
-
setOptionalCaveatNameFilterBytes
public ExpSchemaFilter.Builder setOptionalCaveatNameFilterBytes(com.google.protobuf.ByteString value) optional_caveat_name_filter is a prefix that is matched against the caveat name.
string optional_caveat_name_filter = 2;
- Parameters:
value
- The bytes for optionalCaveatNameFilter to set.- Returns:
- This builder for chaining.
-
getOptionalRelationNameFilter
optional_relation_name_filter is a prefix that is matched against the relation name.
string optional_relation_name_filter = 3;
- Specified by:
getOptionalRelationNameFilter
in interfaceExpSchemaFilterOrBuilder
- Returns:
- The optionalRelationNameFilter.
-
getOptionalRelationNameFilterBytes
public com.google.protobuf.ByteString getOptionalRelationNameFilterBytes()optional_relation_name_filter is a prefix that is matched against the relation name.
string optional_relation_name_filter = 3;
- Specified by:
getOptionalRelationNameFilterBytes
in interfaceExpSchemaFilterOrBuilder
- Returns:
- The bytes for optionalRelationNameFilter.
-
setOptionalRelationNameFilter
optional_relation_name_filter is a prefix that is matched against the relation name.
string optional_relation_name_filter = 3;
- Parameters:
value
- The optionalRelationNameFilter to set.- Returns:
- This builder for chaining.
-
clearOptionalRelationNameFilter
optional_relation_name_filter is a prefix that is matched against the relation name.
string optional_relation_name_filter = 3;
- Returns:
- This builder for chaining.
-
setOptionalRelationNameFilterBytes
public ExpSchemaFilter.Builder setOptionalRelationNameFilterBytes(com.google.protobuf.ByteString value) optional_relation_name_filter is a prefix that is matched against the relation name.
string optional_relation_name_filter = 3;
- Parameters:
value
- The bytes for optionalRelationNameFilter to set.- Returns:
- This builder for chaining.
-
getOptionalPermissionNameFilter
optional_permission_name_filter is a prefix that is matched against the permission name.
string optional_permission_name_filter = 4;
- Specified by:
getOptionalPermissionNameFilter
in interfaceExpSchemaFilterOrBuilder
- Returns:
- The optionalPermissionNameFilter.
-
getOptionalPermissionNameFilterBytes
public com.google.protobuf.ByteString getOptionalPermissionNameFilterBytes()optional_permission_name_filter is a prefix that is matched against the permission name.
string optional_permission_name_filter = 4;
- Specified by:
getOptionalPermissionNameFilterBytes
in interfaceExpSchemaFilterOrBuilder
- Returns:
- The bytes for optionalPermissionNameFilter.
-
setOptionalPermissionNameFilter
optional_permission_name_filter is a prefix that is matched against the permission name.
string optional_permission_name_filter = 4;
- Parameters:
value
- The optionalPermissionNameFilter to set.- Returns:
- This builder for chaining.
-
clearOptionalPermissionNameFilter
optional_permission_name_filter is a prefix that is matched against the permission name.
string optional_permission_name_filter = 4;
- Returns:
- This builder for chaining.
-
setOptionalPermissionNameFilterBytes
public ExpSchemaFilter.Builder setOptionalPermissionNameFilterBytes(com.google.protobuf.ByteString value) optional_permission_name_filter is a prefix that is matched against the permission name.
string optional_permission_name_filter = 4;
- Parameters:
value
- The bytes for optionalPermissionNameFilter to set.- Returns:
- This builder for chaining.
-