Package com.authzed.api.v1
Class ResolvedSubject.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResolvedSubject.Builder>
com.authzed.api.v1.ResolvedSubject.Builder
- All Implemented Interfaces:
ResolvedSubjectOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ResolvedSubject
public static final class ResolvedSubject.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ResolvedSubject.Builder>
implements ResolvedSubjectOrBuilder
ResolvedSubject is a single subject resolved within LookupSubjects.Protobuf type
authzed.api.v1.ResolvedSubject
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
partial_caveat_info holds information of a partially-evaluated caveated responsepermissionship indicates whether the response was partially evaluated or notsubject_object_id is the Object ID of the subject found.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
partial_caveat_info holds information of a partially-evaluated caveated responsepartial_caveat_info holds information of a partially-evaluated caveated responsepartial_caveat_info holds information of a partially-evaluated caveated responsepermissionship indicates whether the response was partially evaluated or notint
permissionship indicates whether the response was partially evaluated or notsubject_object_id is the Object ID of the subject found.com.google.protobuf.ByteString
subject_object_id is the Object ID of the subject found.boolean
partial_caveat_info holds information of a partially-evaluated caveated responseprotected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(ResolvedSubject other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) partial_caveat_info holds information of a partially-evaluated caveated responsepartial_caveat_info holds information of a partially-evaluated caveated responsesetPartialCaveatInfo
(PartialCaveatInfo.Builder builderForValue) partial_caveat_info holds information of a partially-evaluated caveated responsepermissionship indicates whether the response was partially evaluated or notsetPermissionshipValue
(int value) permissionship indicates whether the response was partially evaluated or notsetSubjectObjectId
(String value) subject_object_id is the Object ID of the subject found.setSubjectObjectIdBytes
(com.google.protobuf.ByteString value) subject_object_id is the Object ID of the subject found.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<ResolvedSubject.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<ResolvedSubject.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<ResolvedSubject.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<ResolvedSubject.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<ResolvedSubject.Builder>
-
mergeFrom
public ResolvedSubject.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<ResolvedSubject.Builder>
- Throws:
IOException
-
getSubjectObjectId
subject_object_id is the Object ID of the subject found. May be a `*` if a wildcard was found.
string subject_object_id = 1;
- Specified by:
getSubjectObjectId
in interfaceResolvedSubjectOrBuilder
- Returns:
- The subjectObjectId.
-
getSubjectObjectIdBytes
public com.google.protobuf.ByteString getSubjectObjectIdBytes()subject_object_id is the Object ID of the subject found. May be a `*` if a wildcard was found.
string subject_object_id = 1;
- Specified by:
getSubjectObjectIdBytes
in interfaceResolvedSubjectOrBuilder
- Returns:
- The bytes for subjectObjectId.
-
setSubjectObjectId
subject_object_id is the Object ID of the subject found. May be a `*` if a wildcard was found.
string subject_object_id = 1;
- Parameters:
value
- The subjectObjectId to set.- Returns:
- This builder for chaining.
-
clearSubjectObjectId
subject_object_id is the Object ID of the subject found. May be a `*` if a wildcard was found.
string subject_object_id = 1;
- Returns:
- This builder for chaining.
-
setSubjectObjectIdBytes
subject_object_id is the Object ID of the subject found. May be a `*` if a wildcard was found.
string subject_object_id = 1;
- Parameters:
value
- The bytes for subjectObjectId to set.- Returns:
- This builder for chaining.
-
getPermissionshipValue
public int getPermissionshipValue()permissionship indicates whether the response was partially evaluated or not
.authzed.api.v1.LookupPermissionship permissionship = 2 [(.validate.rules) = { ... }
- Specified by:
getPermissionshipValue
in interfaceResolvedSubjectOrBuilder
- Returns:
- The enum numeric value on the wire for permissionship.
-
setPermissionshipValue
permissionship indicates whether the response was partially evaluated or not
.authzed.api.v1.LookupPermissionship permissionship = 2 [(.validate.rules) = { ... }
- Parameters:
value
- The enum numeric value on the wire for permissionship to set.- Returns:
- This builder for chaining.
-
getPermissionship
permissionship indicates whether the response was partially evaluated or not
.authzed.api.v1.LookupPermissionship permissionship = 2 [(.validate.rules) = { ... }
- Specified by:
getPermissionship
in interfaceResolvedSubjectOrBuilder
- Returns:
- The permissionship.
-
setPermissionship
permissionship indicates whether the response was partially evaluated or not
.authzed.api.v1.LookupPermissionship permissionship = 2 [(.validate.rules) = { ... }
- Parameters:
value
- The permissionship to set.- Returns:
- This builder for chaining.
-
clearPermissionship
permissionship indicates whether the response was partially evaluated or not
.authzed.api.v1.LookupPermissionship permissionship = 2 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
hasPartialCaveatInfo
public boolean hasPartialCaveatInfo()partial_caveat_info holds information of a partially-evaluated caveated response
.authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... }
- Specified by:
hasPartialCaveatInfo
in interfaceResolvedSubjectOrBuilder
- Returns:
- Whether the partialCaveatInfo field is set.
-
getPartialCaveatInfo
partial_caveat_info holds information of a partially-evaluated caveated response
.authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... }
- Specified by:
getPartialCaveatInfo
in interfaceResolvedSubjectOrBuilder
- Returns:
- The partialCaveatInfo.
-
setPartialCaveatInfo
partial_caveat_info holds information of a partially-evaluated caveated response
.authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... }
-
setPartialCaveatInfo
partial_caveat_info holds information of a partially-evaluated caveated response
.authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... }
-
mergePartialCaveatInfo
partial_caveat_info holds information of a partially-evaluated caveated response
.authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... }
-
clearPartialCaveatInfo
partial_caveat_info holds information of a partially-evaluated caveated response
.authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... }
-
getPartialCaveatInfoBuilder
partial_caveat_info holds information of a partially-evaluated caveated response
.authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... }
-
getPartialCaveatInfoOrBuilder
partial_caveat_info holds information of a partially-evaluated caveated response
.authzed.api.v1.PartialCaveatInfo partial_caveat_info = 3 [(.validate.rules) = { ... }
- Specified by:
getPartialCaveatInfoOrBuilder
in interfaceResolvedSubjectOrBuilder
-