Class ApplicationContextRole.Builder

    • Method Detail

      • 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<ApplicationContextRole.Builder>
      • clear

        public ApplicationContextRole.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<ApplicationContextRole.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<ApplicationContextRole.Builder>
      • getDefaultInstanceForType

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

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

        public ApplicationContextRole 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<ApplicationContextRole.Builder>
      • mergeFrom

        public ApplicationContextRole.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<ApplicationContextRole.Builder>
        Throws:
        IOException
      • setContextBytes

        public ApplicationContextRole.Builder setContextBytes​(com.google.protobuf.ByteString value)
        string context = 1;
        Parameters:
        value - The bytes for context to set.
        Returns:
        This builder for chaining.
      • getRolesList

        public com.google.protobuf.ProtocolStringList getRolesList()
        repeated string roles = 2;
        Specified by:
        getRolesList in interface ApplicationContextRoleOrBuilder
        Returns:
        A list containing the roles.
      • getRoles

        public String getRoles​(int index)
        repeated string roles = 2;
        Specified by:
        getRoles in interface ApplicationContextRoleOrBuilder
        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 ApplicationContextRoleOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the roles at the given index.
      • setRoles

        public ApplicationContextRole.Builder setRoles​(int index,
                                                       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.
      • addRolesBytes

        public ApplicationContextRole.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.