Package io.littlehorse.common.proto
Interface ServerACLOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ServerACL,ServerACL.Builder
public interface ServerACLOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ACLActiongetAllowedActions(int index)repeated .littlehorse.ACLAction allowed_actions = 2;intgetAllowedActionsCount()repeated .littlehorse.ACLAction allowed_actions = 2;java.util.List<ACLAction>getAllowedActionsList()repeated .littlehorse.ACLAction allowed_actions = 2;intgetAllowedActionsValue(int index)repeated .littlehorse.ACLAction allowed_actions = 2;java.util.List<java.lang.Integer>getAllowedActionsValueList()repeated .littlehorse.ACLAction allowed_actions = 2;java.lang.StringgetName()string name = 3;com.google.protobuf.ByteStringgetNameBytes()string name = 3;java.lang.StringgetPrefix()string prefix = 4;com.google.protobuf.ByteStringgetPrefixBytes()string prefix = 4;ServerACL.ResourceFilterCasegetResourceFilterCase()ACLResourcegetResources(int index)repeated .littlehorse.ACLResource resources = 1;intgetResourcesCount()repeated .littlehorse.ACLResource resources = 1;java.util.List<ACLResource>getResourcesList()repeated .littlehorse.ACLResource resources = 1;intgetResourcesValue(int index)repeated .littlehorse.ACLResource resources = 1;java.util.List<java.lang.Integer>getResourcesValueList()repeated .littlehorse.ACLResource resources = 1;booleanhasName()string name = 3;booleanhasPrefix()string prefix = 4;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResourcesList
java.util.List<ACLResource> getResourcesList()
repeated .littlehorse.ACLResource resources = 1;- Returns:
- A list containing the resources.
-
getResourcesCount
int getResourcesCount()
repeated .littlehorse.ACLResource resources = 1;- Returns:
- The count of resources.
-
getResources
ACLResource getResources(int index)
repeated .littlehorse.ACLResource resources = 1;- Parameters:
index- The index of the element to return.- Returns:
- The resources at the given index.
-
getResourcesValueList
java.util.List<java.lang.Integer> getResourcesValueList()
repeated .littlehorse.ACLResource resources = 1;- Returns:
- A list containing the enum numeric values on the wire for resources.
-
getResourcesValue
int getResourcesValue(int index)
repeated .littlehorse.ACLResource resources = 1;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of resources at the given index.
-
getAllowedActionsList
java.util.List<ACLAction> getAllowedActionsList()
repeated .littlehorse.ACLAction allowed_actions = 2;- Returns:
- A list containing the allowedActions.
-
getAllowedActionsCount
int getAllowedActionsCount()
repeated .littlehorse.ACLAction allowed_actions = 2;- Returns:
- The count of allowedActions.
-
getAllowedActions
ACLAction getAllowedActions(int index)
repeated .littlehorse.ACLAction allowed_actions = 2;- Parameters:
index- The index of the element to return.- Returns:
- The allowedActions at the given index.
-
getAllowedActionsValueList
java.util.List<java.lang.Integer> getAllowedActionsValueList()
repeated .littlehorse.ACLAction allowed_actions = 2;- Returns:
- A list containing the enum numeric values on the wire for allowedActions.
-
getAllowedActionsValue
int getAllowedActionsValue(int index)
repeated .littlehorse.ACLAction allowed_actions = 2;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of allowedActions at the given index.
-
hasName
boolean hasName()
string name = 3;- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
string name = 3;- Returns:
- The bytes for name.
-
hasPrefix
boolean hasPrefix()
string prefix = 4;- Returns:
- Whether the prefix field is set.
-
getPrefix
java.lang.String getPrefix()
string prefix = 4;- Returns:
- The prefix.
-
getPrefixBytes
com.google.protobuf.ByteString getPrefixBytes()
string prefix = 4;- Returns:
- The bytes for prefix.
-
getResourceFilterCase
ServerACL.ResourceFilterCase getResourceFilterCase()
-
-