Class Engine.Request.Principal.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Engine.Request.Principal.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Engine.Request.Principal.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Engine.Request.Principal.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<Engine.Request.Principal.Builder>
      • getDefaultInstanceForType

        public Engine.Request.Principal getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Engine.Request.Principal build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Engine.Request.Principal buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public Engine.Request.Principal.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.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<Engine.Request.Principal.Builder>
        Throws:
        java.io.IOException
      • setId

        public Engine.Request.Principal.Builder setId​(java.lang.String value)
        string id = 1;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • setIdBytes

        public Engine.Request.Principal.Builder setIdBytes​(com.google.protobuf.ByteString value)
        string id = 1;
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getRoles

        public java.lang.String getRoles​(int index)
        repeated string roles = 2;
        Specified by:
        getRoles in interface Engine.Request.PrincipalOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The roles at the given index.
      • getRolesBytes

        public com.google.protobuf.ByteString getRolesBytes​(int index)
        repeated string roles = 2;
        Specified by:
        getRolesBytes in interface Engine.Request.PrincipalOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the roles at the given index.
      • setRoles

        public Engine.Request.Principal.Builder setRoles​(int index,
                                                         java.lang.String value)
        repeated string roles = 2;
        Parameters:
        index - The index to set the value at.
        value - The roles to set.
        Returns:
        This builder for chaining.
      • addRoles

        public Engine.Request.Principal.Builder addRoles​(java.lang.String value)
        repeated string roles = 2;
        Parameters:
        value - The roles to add.
        Returns:
        This builder for chaining.
      • addAllRoles

        public Engine.Request.Principal.Builder addAllRoles​(java.lang.Iterable<java.lang.String> values)
        repeated string roles = 2;
        Parameters:
        values - The roles to add.
        Returns:
        This builder for chaining.
      • addRolesBytes

        public Engine.Request.Principal.Builder addRolesBytes​(com.google.protobuf.ByteString value)
        repeated string roles = 2;
        Parameters:
        value - The bytes of the roles to add.
        Returns:
        This builder for chaining.
      • getAttrMap

        public java.util.Map<java.lang.String,​com.google.protobuf.Value> getAttrMap()
        map<string, .google.protobuf.Value> attr = 3;
        Specified by:
        getAttrMap in interface Engine.Request.PrincipalOrBuilder
      • getAttrOrDefault

        public com.google.protobuf.Value getAttrOrDefault​(java.lang.String key,
                                                          com.google.protobuf.Value defaultValue)
        map<string, .google.protobuf.Value> attr = 3;
        Specified by:
        getAttrOrDefault in interface Engine.Request.PrincipalOrBuilder
      • getMutableAttr

        @Deprecated
        public java.util.Map<java.lang.String,​com.google.protobuf.Value> getMutableAttr()
        Deprecated.
        Use alternate mutation accessors instead.
      • putAttr

        public Engine.Request.Principal.Builder putAttr​(java.lang.String key,
                                                        com.google.protobuf.Value value)
        map<string, .google.protobuf.Value> attr = 3;
      • putAllAttr

        public Engine.Request.Principal.Builder putAllAttr​(java.util.Map<java.lang.String,​com.google.protobuf.Value> values)
        map<string, .google.protobuf.Value> attr = 3;
      • putAttrBuilderIfAbsent

        public com.google.protobuf.Value.Builder putAttrBuilderIfAbsent​(java.lang.String key)
        map<string, .google.protobuf.Value> attr = 3;