Package com.authzed.api.materialize.v0
Class PermissionSetChange.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PermissionSetChange.Builder>
com.authzed.api.materialize.v0.PermissionSetChange.Builder
- All Implemented Interfaces:
PermissionSetChangeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PermissionSetChange
public static final class PermissionSetChange.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PermissionSetChange.Builder>
implements PermissionSetChangeOrBuilder
Protobuf type
authzed.api.materialize.v0.PermissionSetChange-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()revision represents the revision at which the permission set change occurred.child_member represents the scenario where an specific object is considered member of the parent setchild_set represents the scenario where another set is considered member of the parent setoperation represents the type of set operation that took place as part of the changeparent_set represents the permission set parent of either another set or a memberrevision represents the revision at which the permission set change occurred.revision represents the revision at which the permission set change occurred.revision represents the revision at which the permission set change occurred.child_member represents the scenario where an specific object is considered member of the parent setchild_member represents the scenario where an specific object is considered member of the parent setchild_member represents the scenario where an specific object is considered member of the parent setchild_set represents the scenario where another set is considered member of the parent setchild_set represents the scenario where another set is considered member of the parent setchild_set represents the scenario where another set is considered member of the parent setstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroperation represents the type of set operation that took place as part of the changeintoperation represents the type of set operation that took place as part of the changeparent_set represents the permission set parent of either another set or a memberparent_set represents the permission set parent of either another set or a memberparent_set represents the permission set parent of either another set or a memberbooleanrevision represents the revision at which the permission set change occurred.booleanchild_member represents the scenario where an specific object is considered member of the parent setbooleanchild_set represents the scenario where another set is considered member of the parent setbooleanparent_set represents the permission set parent of either another set or a memberprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAtRevision(ZedToken value) revision represents the revision at which the permission set change occurred.mergeChildMember(MemberReference value) child_member represents the scenario where an specific object is considered member of the parent setmergeChildSet(SetReference value) child_set represents the scenario where another set is considered member of the parent setmergeFrom(PermissionSetChange other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeParentSet(SetReference value) parent_set represents the permission set parent of either another set or a membersetAtRevision(ZedToken value) revision represents the revision at which the permission set change occurred.setAtRevision(ZedToken.Builder builderForValue) revision represents the revision at which the permission set change occurred.setChildMember(MemberReference value) child_member represents the scenario where an specific object is considered member of the parent setsetChildMember(MemberReference.Builder builderForValue) child_member represents the scenario where an specific object is considered member of the parent setsetChildSet(SetReference value) child_set represents the scenario where another set is considered member of the parent setsetChildSet(SetReference.Builder builderForValue) child_set represents the scenario where another set is considered member of the parent setoperation represents the type of set operation that took place as part of the changesetOperationValue(int value) operation represents the type of set operation that took place as part of the changesetParentSet(SetReference value) parent_set represents the permission set parent of either another set or a membersetParentSet(SetReference.Builder builderForValue) parent_set represents the permission set parent of either another set or a memberMethods 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<PermissionSetChange.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<PermissionSetChange.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<PermissionSetChange.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<PermissionSetChange.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PermissionSetChange.Builder>
-
mergeFrom
public PermissionSetChange.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<PermissionSetChange.Builder>- Throws:
IOException
-
getChildCase
- Specified by:
getChildCasein interfacePermissionSetChangeOrBuilder
-
clearChild
-
hasAtRevision
public boolean hasAtRevision()revision represents the revision at which the permission set change occurred.
.authzed.api.v1.ZedToken at_revision = 1;- Specified by:
hasAtRevisionin interfacePermissionSetChangeOrBuilder- Returns:
- Whether the atRevision field is set.
-
getAtRevision
revision represents the revision at which the permission set change occurred.
.authzed.api.v1.ZedToken at_revision = 1;- Specified by:
getAtRevisionin interfacePermissionSetChangeOrBuilder- Returns:
- The atRevision.
-
setAtRevision
revision represents the revision at which the permission set change occurred.
.authzed.api.v1.ZedToken at_revision = 1; -
setAtRevision
revision represents the revision at which the permission set change occurred.
.authzed.api.v1.ZedToken at_revision = 1; -
mergeAtRevision
revision represents the revision at which the permission set change occurred.
.authzed.api.v1.ZedToken at_revision = 1; -
clearAtRevision
revision represents the revision at which the permission set change occurred.
.authzed.api.v1.ZedToken at_revision = 1; -
getAtRevisionBuilder
revision represents the revision at which the permission set change occurred.
.authzed.api.v1.ZedToken at_revision = 1; -
getAtRevisionOrBuilder
revision represents the revision at which the permission set change occurred.
.authzed.api.v1.ZedToken at_revision = 1;- Specified by:
getAtRevisionOrBuilderin interfacePermissionSetChangeOrBuilder
-
getOperationValue
public int getOperationValue()operation represents the type of set operation that took place as part of the change
.authzed.api.materialize.v0.PermissionSetChange.SetOperation operation = 2;- Specified by:
getOperationValuein interfacePermissionSetChangeOrBuilder- Returns:
- The enum numeric value on the wire for operation.
-
setOperationValue
operation represents the type of set operation that took place as part of the change
.authzed.api.materialize.v0.PermissionSetChange.SetOperation operation = 2;- Parameters:
value- The enum numeric value on the wire for operation to set.- Returns:
- This builder for chaining.
-
getOperation
operation represents the type of set operation that took place as part of the change
.authzed.api.materialize.v0.PermissionSetChange.SetOperation operation = 2;- Specified by:
getOperationin interfacePermissionSetChangeOrBuilder- Returns:
- The operation.
-
setOperation
operation represents the type of set operation that took place as part of the change
.authzed.api.materialize.v0.PermissionSetChange.SetOperation operation = 2;- Parameters:
value- The operation to set.- Returns:
- This builder for chaining.
-
clearOperation
operation represents the type of set operation that took place as part of the change
.authzed.api.materialize.v0.PermissionSetChange.SetOperation operation = 2;- Returns:
- This builder for chaining.
-
hasParentSet
public boolean hasParentSet()parent_set represents the permission set parent of either another set or a member
.authzed.api.materialize.v0.SetReference parent_set = 3;- Specified by:
hasParentSetin interfacePermissionSetChangeOrBuilder- Returns:
- Whether the parentSet field is set.
-
getParentSet
parent_set represents the permission set parent of either another set or a member
.authzed.api.materialize.v0.SetReference parent_set = 3;- Specified by:
getParentSetin interfacePermissionSetChangeOrBuilder- Returns:
- The parentSet.
-
setParentSet
parent_set represents the permission set parent of either another set or a member
.authzed.api.materialize.v0.SetReference parent_set = 3; -
setParentSet
parent_set represents the permission set parent of either another set or a member
.authzed.api.materialize.v0.SetReference parent_set = 3; -
mergeParentSet
parent_set represents the permission set parent of either another set or a member
.authzed.api.materialize.v0.SetReference parent_set = 3; -
clearParentSet
parent_set represents the permission set parent of either another set or a member
.authzed.api.materialize.v0.SetReference parent_set = 3; -
getParentSetBuilder
parent_set represents the permission set parent of either another set or a member
.authzed.api.materialize.v0.SetReference parent_set = 3; -
getParentSetOrBuilder
parent_set represents the permission set parent of either another set or a member
.authzed.api.materialize.v0.SetReference parent_set = 3;- Specified by:
getParentSetOrBuilderin interfacePermissionSetChangeOrBuilder
-
hasChildSet
public boolean hasChildSet()child_set represents the scenario where another set is considered member of the parent set
.authzed.api.materialize.v0.SetReference child_set = 4;- Specified by:
hasChildSetin interfacePermissionSetChangeOrBuilder- Returns:
- Whether the childSet field is set.
-
getChildSet
child_set represents the scenario where another set is considered member of the parent set
.authzed.api.materialize.v0.SetReference child_set = 4;- Specified by:
getChildSetin interfacePermissionSetChangeOrBuilder- Returns:
- The childSet.
-
setChildSet
child_set represents the scenario where another set is considered member of the parent set
.authzed.api.materialize.v0.SetReference child_set = 4; -
setChildSet
child_set represents the scenario where another set is considered member of the parent set
.authzed.api.materialize.v0.SetReference child_set = 4; -
mergeChildSet
child_set represents the scenario where another set is considered member of the parent set
.authzed.api.materialize.v0.SetReference child_set = 4; -
clearChildSet
child_set represents the scenario where another set is considered member of the parent set
.authzed.api.materialize.v0.SetReference child_set = 4; -
getChildSetBuilder
child_set represents the scenario where another set is considered member of the parent set
.authzed.api.materialize.v0.SetReference child_set = 4; -
getChildSetOrBuilder
child_set represents the scenario where another set is considered member of the parent set
.authzed.api.materialize.v0.SetReference child_set = 4;- Specified by:
getChildSetOrBuilderin interfacePermissionSetChangeOrBuilder
-
hasChildMember
public boolean hasChildMember()child_member represents the scenario where an specific object is considered member of the parent set
.authzed.api.materialize.v0.MemberReference child_member = 5;- Specified by:
hasChildMemberin interfacePermissionSetChangeOrBuilder- Returns:
- Whether the childMember field is set.
-
getChildMember
child_member represents the scenario where an specific object is considered member of the parent set
.authzed.api.materialize.v0.MemberReference child_member = 5;- Specified by:
getChildMemberin interfacePermissionSetChangeOrBuilder- Returns:
- The childMember.
-
setChildMember
child_member represents the scenario where an specific object is considered member of the parent set
.authzed.api.materialize.v0.MemberReference child_member = 5; -
setChildMember
child_member represents the scenario where an specific object is considered member of the parent set
.authzed.api.materialize.v0.MemberReference child_member = 5; -
mergeChildMember
child_member represents the scenario where an specific object is considered member of the parent set
.authzed.api.materialize.v0.MemberReference child_member = 5; -
clearChildMember
child_member represents the scenario where an specific object is considered member of the parent set
.authzed.api.materialize.v0.MemberReference child_member = 5; -
getChildMemberBuilder
child_member represents the scenario where an specific object is considered member of the parent set
.authzed.api.materialize.v0.MemberReference child_member = 5; -
getChildMemberOrBuilder
child_member represents the scenario where an specific object is considered member of the parent set
.authzed.api.materialize.v0.MemberReference child_member = 5;- Specified by:
getChildMemberOrBuilderin interfacePermissionSetChangeOrBuilder
-