Class ServerACL

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServerACLOrBuilder, java.io.Serializable

    public final class ServerACL
    extends com.google.protobuf.GeneratedMessageV3
    implements ServerACLOrBuilder
    Protobuf type littlehorse.ServerACL
    See Also:
    Serialized Form
    • Method Detail

      • getDescriptor

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

        public java.util.List<ACLResource> getResourcesList()
        repeated .littlehorse.ACLResource resources = 1;
        Specified by:
        getResourcesList in interface ServerACLOrBuilder
        Returns:
        A list containing the resources.
      • getResourcesCount

        public int getResourcesCount()
        repeated .littlehorse.ACLResource resources = 1;
        Specified by:
        getResourcesCount in interface ServerACLOrBuilder
        Returns:
        The count of resources.
      • getResources

        public ACLResource getResources​(int index)
        repeated .littlehorse.ACLResource resources = 1;
        Specified by:
        getResources in interface ServerACLOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The resources at the given index.
      • getResourcesValueList

        public java.util.List<java.lang.Integer> getResourcesValueList()
        repeated .littlehorse.ACLResource resources = 1;
        Specified by:
        getResourcesValueList in interface ServerACLOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for resources.
      • getResourcesValue

        public int getResourcesValue​(int index)
        repeated .littlehorse.ACLResource resources = 1;
        Specified by:
        getResourcesValue in interface ServerACLOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of resources at the given index.
      • getAllowedActionsList

        public java.util.List<ACLAction> getAllowedActionsList()
        repeated .littlehorse.ACLAction allowed_actions = 2;
        Specified by:
        getAllowedActionsList in interface ServerACLOrBuilder
        Returns:
        A list containing the allowedActions.
      • getAllowedActionsCount

        public int getAllowedActionsCount()
        repeated .littlehorse.ACLAction allowed_actions = 2;
        Specified by:
        getAllowedActionsCount in interface ServerACLOrBuilder
        Returns:
        The count of allowedActions.
      • getAllowedActions

        public ACLAction getAllowedActions​(int index)
        repeated .littlehorse.ACLAction allowed_actions = 2;
        Specified by:
        getAllowedActions in interface ServerACLOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The allowedActions at the given index.
      • getAllowedActionsValueList

        public java.util.List<java.lang.Integer> getAllowedActionsValueList()
        repeated .littlehorse.ACLAction allowed_actions = 2;
        Specified by:
        getAllowedActionsValueList in interface ServerACLOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for allowedActions.
      • getAllowedActionsValue

        public int getAllowedActionsValue​(int index)
        repeated .littlehorse.ACLAction allowed_actions = 2;
        Specified by:
        getAllowedActionsValue in interface ServerACLOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of allowedActions at the given index.
      • hasName

        public boolean hasName()
        string name = 3;
        Specified by:
        hasName in interface ServerACLOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public java.lang.String getName()
        string name = 3;
        Specified by:
        getName in interface ServerACLOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        string name = 3;
        Specified by:
        getNameBytes in interface ServerACLOrBuilder
        Returns:
        The bytes for name.
      • hasPrefix

        public boolean hasPrefix()
        string prefix = 4;
        Specified by:
        hasPrefix in interface ServerACLOrBuilder
        Returns:
        Whether the prefix field is set.
      • getPrefix

        public java.lang.String getPrefix()
        string prefix = 4;
        Specified by:
        getPrefix in interface ServerACLOrBuilder
        Returns:
        The prefix.
      • getPrefixBytes

        public com.google.protobuf.ByteString getPrefixBytes()
        string prefix = 4;
        Specified by:
        getPrefixBytes in interface ServerACLOrBuilder
        Returns:
        The bytes for prefix.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ServerACL parseFrom​(java.nio.ByteBuffer data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ServerACL parseFrom​(java.nio.ByteBuffer data,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ServerACL parseFrom​(com.google.protobuf.ByteString data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ServerACL parseFrom​(com.google.protobuf.ByteString data,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ServerACL parseFrom​(byte[] data)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ServerACL parseFrom​(byte[] data,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ServerACL parseFrom​(java.io.InputStream input)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ServerACL parseFrom​(java.io.InputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static ServerACL parseDelimitedFrom​(java.io.InputStream input)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static ServerACL parseDelimitedFrom​(java.io.InputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ServerACL parseFrom​(com.google.protobuf.CodedInputStream input)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ServerACL parseFrom​(com.google.protobuf.CodedInputStream input,
                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public ServerACL.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public ServerACL.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • getDefaultInstance

        public static ServerACL getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<ServerACL> parser()
      • getParserForType

        public com.google.protobuf.Parser<ServerACL> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ServerACL getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder