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.Descriptor
com.google.protobuf.Descriptors.Descriptor
operation represents the type of set operation that took place as part of the changeint
operation 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 memberboolean
revision represents the revision at which the permission set change occurred.boolean
child_member represents the scenario where an specific object is considered member of the parent setboolean
child_set represents the scenario where another set is considered member of the parent setboolean
parent_set represents the permission set parent of either another set or a memberprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeAtRevision
(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, 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<PermissionSetChange.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<PermissionSetChange.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<PermissionSetChange.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<PermissionSetChange.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PermissionSetChange.Builder>
- Throws:
IOException
-
getChildCase
- Specified by:
getChildCase
in 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:
hasAtRevision
in 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:
getAtRevision
in 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:
getAtRevisionOrBuilder
in 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:
getOperationValue
in 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:
getOperation
in 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:
hasParentSet
in 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:
getParentSet
in 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:
getParentSetOrBuilder
in 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:
hasChildSet
in 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:
getChildSet
in 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:
getChildSetOrBuilder
in 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:
hasChildMember
in 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:
getChildMember
in 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:
getChildMemberOrBuilder
in interfacePermissionSetChangeOrBuilder
-