Class Core.User.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Core.User.Builder>
com.authzed.api.v0.Core.User.Builder
All Implemented Interfaces:
Core.UserOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Core.User

public static final class Core.User.Builder extends com.google.protobuf.GeneratedMessage.Builder<Core.User.Builder> implements Core.UserOrBuilder
Protobuf type authzed.api.v0.User
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
    .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ...
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
     
    .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ...
    .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ...
    .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ...
    boolean
    .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ...
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ...
    .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ...
    .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ...

    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 class com.google.protobuf.GeneratedMessage.Builder<Core.User.Builder>
    • clear

      public Core.User.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Core.User.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Core.User.Builder>
    • getDefaultInstanceForType

      public Core.User getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Core.User build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Core.User buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Core.User.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Core.User.Builder>
    • mergeFrom

      public Core.User.Builder mergeFrom(Core.User other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Core.User.Builder>
    • mergeFrom

      public Core.User.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Core.User.Builder>
      Throws:
      IOException
    • getUserOneofCase

      public Core.User.UserOneofCase getUserOneofCase()
      Specified by:
      getUserOneofCase in interface Core.UserOrBuilder
    • clearUserOneof

      public Core.User.Builder clearUserOneof()
    • hasUserset

      public boolean hasUserset()
      .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ... }
      Specified by:
      hasUserset in interface Core.UserOrBuilder
      Returns:
      Whether the userset field is set.
    • getUserset

      public Core.ObjectAndRelation getUserset()
      .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ... }
      Specified by:
      getUserset in interface Core.UserOrBuilder
      Returns:
      The userset.
    • setUserset

      public Core.User.Builder setUserset(Core.ObjectAndRelation value)
      .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ... }
    • setUserset

      public Core.User.Builder setUserset(Core.ObjectAndRelation.Builder builderForValue)
      .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ... }
    • mergeUserset

      public Core.User.Builder mergeUserset(Core.ObjectAndRelation value)
      .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ... }
    • clearUserset

      public Core.User.Builder clearUserset()
      .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ... }
    • getUsersetBuilder

      public Core.ObjectAndRelation.Builder getUsersetBuilder()
      .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ... }
    • getUsersetOrBuilder

      public Core.ObjectAndRelationOrBuilder getUsersetOrBuilder()
      .authzed.api.v0.ObjectAndRelation userset = 2 [(.validate.rules) = { ... }
      Specified by:
      getUsersetOrBuilder in interface Core.UserOrBuilder