Package com.authzed.api.v1
Class PermissionRelationshipTree.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PermissionRelationshipTree.Builder>
com.authzed.api.v1.PermissionRelationshipTree.Builder
- All Implemented Interfaces:
PermissionRelationshipTreeOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- PermissionRelationshipTree
public static final class PermissionRelationshipTree.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PermissionRelationshipTree.Builder>
implements PermissionRelationshipTreeOrBuilder
PermissionRelationshipTree is used for representing a tree of a resource and its permission relationships with other objects.Protobuf type
authzed.api.v1.PermissionRelationshipTree
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
.authzed.api.v1.ObjectReference expanded_object = 3;
string expanded_relation = 4;
.authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
.authzed.api.v1.DirectSubjectSet leaf = 2;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
.authzed.api.v1.ObjectReference expanded_object = 3;
.authzed.api.v1.ObjectReference expanded_object = 3;
.authzed.api.v1.ObjectReference expanded_object = 3;
string expanded_relation = 4;
com.google.protobuf.ByteString
string expanded_relation = 4;
.authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
.authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
.authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
getLeaf()
.authzed.api.v1.DirectSubjectSet leaf = 2;
.authzed.api.v1.DirectSubjectSet leaf = 2;
.authzed.api.v1.DirectSubjectSet leaf = 2;
boolean
.authzed.api.v1.ObjectReference expanded_object = 3;
boolean
.authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
boolean
hasLeaf()
.authzed.api.v1.DirectSubjectSet leaf = 2;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
.authzed.api.v1.ObjectReference expanded_object = 3;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) .authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
mergeLeaf
(DirectSubjectSet value) .authzed.api.v1.DirectSubjectSet leaf = 2;
setExpandedObject
(ObjectReference value) .authzed.api.v1.ObjectReference expanded_object = 3;
setExpandedObject
(ObjectReference.Builder builderForValue) .authzed.api.v1.ObjectReference expanded_object = 3;
setExpandedRelation
(String value) string expanded_relation = 4;
setExpandedRelationBytes
(com.google.protobuf.ByteString value) string expanded_relation = 4;
.authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
setIntermediate
(AlgebraicSubjectSet.Builder builderForValue) .authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
setLeaf
(DirectSubjectSet value) .authzed.api.v1.DirectSubjectSet leaf = 2;
setLeaf
(DirectSubjectSet.Builder builderForValue) .authzed.api.v1.DirectSubjectSet leaf = 2;
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<PermissionRelationshipTree.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<PermissionRelationshipTree.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<PermissionRelationshipTree.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<PermissionRelationshipTree.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<PermissionRelationshipTree.Builder>
-
mergeFrom
public PermissionRelationshipTree.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<PermissionRelationshipTree.Builder>
- Throws:
IOException
-
getTreeTypeCase
- Specified by:
getTreeTypeCase
in interfacePermissionRelationshipTreeOrBuilder
-
clearTreeType
-
hasIntermediate
public boolean hasIntermediate().authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
- Specified by:
hasIntermediate
in interfacePermissionRelationshipTreeOrBuilder
- Returns:
- Whether the intermediate field is set.
-
getIntermediate
.authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
- Specified by:
getIntermediate
in interfacePermissionRelationshipTreeOrBuilder
- Returns:
- The intermediate.
-
setIntermediate
.authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
-
setIntermediate
public PermissionRelationshipTree.Builder setIntermediate(AlgebraicSubjectSet.Builder builderForValue) .authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
-
mergeIntermediate
.authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
-
clearIntermediate
.authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
-
getIntermediateBuilder
.authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
-
getIntermediateOrBuilder
.authzed.api.v1.AlgebraicSubjectSet intermediate = 1;
- Specified by:
getIntermediateOrBuilder
in interfacePermissionRelationshipTreeOrBuilder
-
hasLeaf
public boolean hasLeaf().authzed.api.v1.DirectSubjectSet leaf = 2;
- Specified by:
hasLeaf
in interfacePermissionRelationshipTreeOrBuilder
- Returns:
- Whether the leaf field is set.
-
getLeaf
.authzed.api.v1.DirectSubjectSet leaf = 2;
- Specified by:
getLeaf
in interfacePermissionRelationshipTreeOrBuilder
- Returns:
- The leaf.
-
setLeaf
.authzed.api.v1.DirectSubjectSet leaf = 2;
-
setLeaf
.authzed.api.v1.DirectSubjectSet leaf = 2;
-
mergeLeaf
.authzed.api.v1.DirectSubjectSet leaf = 2;
-
clearLeaf
.authzed.api.v1.DirectSubjectSet leaf = 2;
-
getLeafBuilder
.authzed.api.v1.DirectSubjectSet leaf = 2;
-
getLeafOrBuilder
.authzed.api.v1.DirectSubjectSet leaf = 2;
- Specified by:
getLeafOrBuilder
in interfacePermissionRelationshipTreeOrBuilder
-
hasExpandedObject
public boolean hasExpandedObject().authzed.api.v1.ObjectReference expanded_object = 3;
- Specified by:
hasExpandedObject
in interfacePermissionRelationshipTreeOrBuilder
- Returns:
- Whether the expandedObject field is set.
-
getExpandedObject
.authzed.api.v1.ObjectReference expanded_object = 3;
- Specified by:
getExpandedObject
in interfacePermissionRelationshipTreeOrBuilder
- Returns:
- The expandedObject.
-
setExpandedObject
.authzed.api.v1.ObjectReference expanded_object = 3;
-
setExpandedObject
public PermissionRelationshipTree.Builder setExpandedObject(ObjectReference.Builder builderForValue) .authzed.api.v1.ObjectReference expanded_object = 3;
-
mergeExpandedObject
.authzed.api.v1.ObjectReference expanded_object = 3;
-
clearExpandedObject
.authzed.api.v1.ObjectReference expanded_object = 3;
-
getExpandedObjectBuilder
.authzed.api.v1.ObjectReference expanded_object = 3;
-
getExpandedObjectOrBuilder
.authzed.api.v1.ObjectReference expanded_object = 3;
- Specified by:
getExpandedObjectOrBuilder
in interfacePermissionRelationshipTreeOrBuilder
-
getExpandedRelation
string expanded_relation = 4;
- Specified by:
getExpandedRelation
in interfacePermissionRelationshipTreeOrBuilder
- Returns:
- The expandedRelation.
-
getExpandedRelationBytes
public com.google.protobuf.ByteString getExpandedRelationBytes()string expanded_relation = 4;
- Specified by:
getExpandedRelationBytes
in interfacePermissionRelationshipTreeOrBuilder
- Returns:
- The bytes for expandedRelation.
-
setExpandedRelation
string expanded_relation = 4;
- Parameters:
value
- The expandedRelation to set.- Returns:
- This builder for chaining.
-
clearExpandedRelation
string expanded_relation = 4;
- Returns:
- This builder for chaining.
-
setExpandedRelationBytes
public PermissionRelationshipTree.Builder setExpandedRelationBytes(com.google.protobuf.ByteString value) string expanded_relation = 4;
- Parameters:
value
- The bytes for expandedRelation to set.- Returns:
- This builder for chaining.
-