Class AccessPolicyRule (1.90.0)

public final class AccessPolicyRule extends GeneratedMessage implements AccessPolicyRuleOrBuilder

Static Fields

CONDITIONS_FIELD_NUMBER

public static final int CONDITIONS_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

EFFECT_FIELD_NUMBER

public static final int EFFECT_FIELD_NUMBER
Field Value
Type Description
int

EXCLUDED_PRINCIPALS_FIELD_NUMBER

public static final int EXCLUDED_PRINCIPALS_FIELD_NUMBER
Field Value
Type Description
int

OPERATION_FIELD_NUMBER

public static final int OPERATION_FIELD_NUMBER
Field Value
Type Description
int

PRINCIPALS_FIELD_NUMBER

public static final int PRINCIPALS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AccessPolicyRule getDefaultInstance()
Returns
Type Description
AccessPolicyRule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AccessPolicyRule.Builder newBuilder()
Returns
Type Description
Builder

newBuilder(AccessPolicyRule arg0)

public static AccessPolicyRule.Builder newBuilder(AccessPolicyRule arg0)
Parameter
Name Description
arg0 AccessPolicyRule
Returns
Type Description
Builder

parseDelimitedFrom(InputStream arg0)

public static AccessPolicyRule parseDelimitedFrom(InputStream arg0)
Parameter
Name Description
arg0 InputStream
Returns
Type Description
AccessPolicyRule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)

public static AccessPolicyRule parseDelimitedFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 InputStream
arg1 ExtensionRegistryLite
Returns
Type Description
AccessPolicyRule
Exceptions
Type Description
IOException

parseFrom(byte[] arg0)

public static AccessPolicyRule parseFrom(byte[] arg0)
Parameter
Name Description
arg0 byte[]
Returns
Type Description
AccessPolicyRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] arg0, ExtensionRegistryLite arg1)

public static AccessPolicyRule parseFrom(byte[] arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 byte[]
arg1 ExtensionRegistryLite
Returns
Type Description
AccessPolicyRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString arg0)

public static AccessPolicyRule parseFrom(ByteString arg0)
Parameter
Name Description
arg0 ByteString
Returns
Type Description
AccessPolicyRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString arg0, ExtensionRegistryLite arg1)

public static AccessPolicyRule parseFrom(ByteString arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 ByteString
arg1 ExtensionRegistryLite
Returns
Type Description
AccessPolicyRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream arg0)

public static AccessPolicyRule parseFrom(CodedInputStream arg0)
Parameter
Name Description
arg0 CodedInputStream
Returns
Type Description
AccessPolicyRule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public static AccessPolicyRule parseFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 CodedInputStream
arg1 ExtensionRegistryLite
Returns
Type Description
AccessPolicyRule
Exceptions
Type Description
IOException

parseFrom(InputStream arg0)

public static AccessPolicyRule parseFrom(InputStream arg0)
Parameter
Name Description
arg0 InputStream
Returns
Type Description
AccessPolicyRule
Exceptions
Type Description
IOException

parseFrom(InputStream arg0, ExtensionRegistryLite arg1)

public static AccessPolicyRule parseFrom(InputStream arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 InputStream
arg1 ExtensionRegistryLite
Returns
Type Description
AccessPolicyRule
Exceptions
Type Description
IOException

parseFrom(ByteBuffer arg0)

public static AccessPolicyRule parseFrom(ByteBuffer arg0)
Parameter
Name Description
arg0 ByteBuffer
Returns
Type Description
AccessPolicyRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)

public static AccessPolicyRule parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)
Parameters
Name Description
arg0 ByteBuffer
arg1 ExtensionRegistryLite
Returns
Type Description
AccessPolicyRule
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AccessPolicyRule> parser()
Returns
Type Description
Parser<AccessPolicyRule>

Methods

containsConditions(String arg0)

public boolean containsConditions(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
boolean

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
Name Description
arg0 Object
Returns
Type Description
boolean
Overrides

getConditions() (deprecated)

public Map<String,Expr> getConditions()
Returns
Type Description
Map<String,com.google.type.Expr>

getConditionsCount()

public int getConditionsCount()
Returns
Type Description
int

getConditionsMap()

public Map<String,Expr> getConditionsMap()
Returns
Type Description
Map<String,com.google.type.Expr>

getConditionsOrDefault(String arg0, Expr arg1)

public Expr getConditionsOrDefault(String arg0, Expr arg1)
Parameters
Name Description
arg0 String
arg1 com.google.type.Expr
Returns
Type Description
com.google.type.Expr

getConditionsOrThrow(String arg0)

public Expr getConditionsOrThrow(String arg0)
Parameter
Name Description
arg0 String
Returns
Type Description
com.google.type.Expr

getDefaultInstanceForType()

public AccessPolicyRule getDefaultInstanceForType()
Returns
Type Description
AccessPolicyRule

getDescription()

public String getDescription()
Returns
Type Description
String

getDescriptionBytes()

public ByteString getDescriptionBytes()
Returns
Type Description
ByteString

getEffect()

public AccessPolicyRule.Effect getEffect()
Returns
Type Description
Effect

getEffectValue()

public int getEffectValue()
Returns
Type Description
int

getExcludedPrincipals(int arg0)

public String getExcludedPrincipals(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
String

getExcludedPrincipalsBytes(int arg0)

public ByteString getExcludedPrincipalsBytes(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
ByteString

getExcludedPrincipalsCount()

public int getExcludedPrincipalsCount()
Returns
Type Description
int

getExcludedPrincipalsList()

public ProtocolStringList getExcludedPrincipalsList()
Returns
Type Description
ProtocolStringList

getOperation()

public AccessPolicyRule.Operation getOperation()
Returns
Type Description
Operation

getOperationOrBuilder()

public AccessPolicyRule.OperationOrBuilder getOperationOrBuilder()
Returns
Type Description
OperationOrBuilder

getParserForType()

public Parser<AccessPolicyRule> getParserForType()
Returns
Type Description
Parser<AccessPolicyRule>
Overrides

getPrincipals(int arg0)

public String getPrincipals(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
String

getPrincipalsBytes(int arg0)

public ByteString getPrincipalsBytes(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
ByteString

getPrincipalsCount()

public int getPrincipalsCount()
Returns
Type Description
int

getPrincipalsList()

public ProtocolStringList getPrincipalsList()
Returns
Type Description
ProtocolStringList

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDescription()

public boolean hasDescription()
Returns
Type Description
boolean

hasEffect()

public boolean hasEffect()
Returns
Type Description
boolean

hasOperation()

public boolean hasOperation()
Returns
Type Description
boolean

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int arg0)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int arg0)
Parameter
Name Description
arg0 int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AccessPolicyRule.Builder newBuilderForType()
Returns
Type Description
Builder

newBuilderForType(AbstractMessage.BuilderParent arg0)

protected AccessPolicyRule.Builder newBuilderForType(AbstractMessage.BuilderParent arg0)
Parameter
Name Description
arg0 BuilderParent
Returns
Type Description
Builder
Overrides

toBuilder()

public AccessPolicyRule.Builder toBuilder()
Returns
Type Description
Builder

writeTo(CodedOutputStream arg0)

public void writeTo(CodedOutputStream arg0)
Parameter
Name Description
arg0 CodedOutputStream
Overrides
Exceptions
Type Description
IOException