Package s2.v1alpha
Interface AccessTokenScopeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AccessTokenScope
,AccessTokenScope.Builder
public interface AccessTokenScopeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceSet
getAccessTokens()
Token IDs allowed.ResourceSetOrBuilder
getAccessTokensOrBuilder()
Token IDs allowed.ResourceSet
getBasins()
Basin names allowed.ResourceSetOrBuilder
getBasinsOrBuilder()
Basin names allowed.PermittedOperationGroups
getOpGroups()
Access permissions at operation group level.PermittedOperationGroupsOrBuilder
getOpGroupsOrBuilder()
Access permissions at operation group level.Operation
getOps(int index)
Operations allowed for the token.int
getOpsCount()
Operations allowed for the token.java.util.List<Operation>
getOpsList()
Operations allowed for the token.int
getOpsValue(int index)
Operations allowed for the token.java.util.List<java.lang.Integer>
getOpsValueList()
Operations allowed for the token.ResourceSet
getStreams()
Stream names allowed.ResourceSetOrBuilder
getStreamsOrBuilder()
Stream names allowed.boolean
hasAccessTokens()
Token IDs allowed.boolean
hasBasins()
Basin names allowed.boolean
hasOpGroups()
Access permissions at operation group level.boolean
hasStreams()
Stream names allowed.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasBasins
boolean hasBasins()
Basin names allowed.
.s2.v1alpha.ResourceSet basins = 1;
- Returns:
- Whether the basins field is set.
-
getBasins
ResourceSet getBasins()
Basin names allowed.
.s2.v1alpha.ResourceSet basins = 1;
- Returns:
- The basins.
-
getBasinsOrBuilder
ResourceSetOrBuilder getBasinsOrBuilder()
Basin names allowed.
.s2.v1alpha.ResourceSet basins = 1;
-
hasStreams
boolean hasStreams()
Stream names allowed.
.s2.v1alpha.ResourceSet streams = 2;
- Returns:
- Whether the streams field is set.
-
getStreams
ResourceSet getStreams()
Stream names allowed.
.s2.v1alpha.ResourceSet streams = 2;
- Returns:
- The streams.
-
getStreamsOrBuilder
ResourceSetOrBuilder getStreamsOrBuilder()
Stream names allowed.
.s2.v1alpha.ResourceSet streams = 2;
-
hasAccessTokens
boolean hasAccessTokens()
Token IDs allowed.
.s2.v1alpha.ResourceSet access_tokens = 3;
- Returns:
- Whether the accessTokens field is set.
-
getAccessTokens
ResourceSet getAccessTokens()
Token IDs allowed.
.s2.v1alpha.ResourceSet access_tokens = 3;
- Returns:
- The accessTokens.
-
getAccessTokensOrBuilder
ResourceSetOrBuilder getAccessTokensOrBuilder()
Token IDs allowed.
.s2.v1alpha.ResourceSet access_tokens = 3;
-
hasOpGroups
boolean hasOpGroups()
Access permissions at operation group level.
.s2.v1alpha.PermittedOperationGroups op_groups = 4;
- Returns:
- Whether the opGroups field is set.
-
getOpGroups
PermittedOperationGroups getOpGroups()
Access permissions at operation group level.
.s2.v1alpha.PermittedOperationGroups op_groups = 4;
- Returns:
- The opGroups.
-
getOpGroupsOrBuilder
PermittedOperationGroupsOrBuilder getOpGroupsOrBuilder()
Access permissions at operation group level.
.s2.v1alpha.PermittedOperationGroups op_groups = 4;
-
getOpsList
java.util.List<Operation> getOpsList()
Operations allowed for the token. A union of allowed operations and groups is used as an effective set of allowed operations.
repeated .s2.v1alpha.Operation ops = 5;
- Returns:
- A list containing the ops.
-
getOpsCount
int getOpsCount()
Operations allowed for the token. A union of allowed operations and groups is used as an effective set of allowed operations.
repeated .s2.v1alpha.Operation ops = 5;
- Returns:
- The count of ops.
-
getOps
Operation getOps(int index)
Operations allowed for the token. A union of allowed operations and groups is used as an effective set of allowed operations.
repeated .s2.v1alpha.Operation ops = 5;
- Parameters:
index
- The index of the element to return.- Returns:
- The ops at the given index.
-
getOpsValueList
java.util.List<java.lang.Integer> getOpsValueList()
Operations allowed for the token. A union of allowed operations and groups is used as an effective set of allowed operations.
repeated .s2.v1alpha.Operation ops = 5;
- Returns:
- A list containing the enum numeric values on the wire for ops.
-
getOpsValue
int getOpsValue(int index)
Operations allowed for the token. A union of allowed operations and groups is used as an effective set of allowed operations.
repeated .s2.v1alpha.Operation ops = 5;
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of ops at the given index.
-
-