Send feedback
Class Policy (1.53.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.53.0 keyboard_arrow_down
public final class Policy extends GeneratedMessageV3 implements PolicyOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
Type
Description
int
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
DELETE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type
Description
int
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value
Type
Description
int
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
Field Value
Type
Description
int
MANAGING_AUTHORITY_FIELD_NUMBER
public static final int MANAGING_AUTHORITY_FIELD_NUMBER
Field Value
Type
Description
int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
RULES_FIELD_NUMBER
public static final int RULES_FIELD_NUMBER
Field Value
Type
Description
int
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
Field Value
Type
Description
int
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Policy getDefaultInstance ()
Returns
Type
Description
Policy
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Policy . Builder newBuilder ()
newBuilder(Policy arg0)
public static Policy . Builder newBuilder ( Policy arg0 )
Parameter
Name
Description
arg0
Policy
public static Policy parseDelimitedFrom ( InputStream arg0 )
Returns
Type
Description
Policy
public static Policy parseDelimitedFrom ( InputStream arg0 , ExtensionRegistryLite arg1 )
Returns
Type
Description
Policy
parseFrom(byte[] arg0)
public static Policy parseFrom ( byte [] arg0 )
Parameter
Name
Description
arg0
byte []
Returns
Type
Description
Policy
parseFrom(byte[] arg0, ExtensionRegistryLite arg1)
public static Policy parseFrom ( byte [] arg0 , ExtensionRegistryLite arg1 )
Returns
Type
Description
Policy
parseFrom(ByteString arg0)
public static Policy parseFrom ( ByteString arg0 )
Returns
Type
Description
Policy
parseFrom(ByteString arg0, ExtensionRegistryLite arg1)
public static Policy parseFrom ( ByteString arg0 , ExtensionRegistryLite arg1 )
Returns
Type
Description
Policy
public static Policy parseFrom ( CodedInputStream arg0 )
Returns
Type
Description
Policy
public static Policy parseFrom ( CodedInputStream arg0 , ExtensionRegistryLite arg1 )
Returns
Type
Description
Policy
public static Policy parseFrom ( InputStream arg0 )
Returns
Type
Description
Policy
public static Policy parseFrom ( InputStream arg0 , ExtensionRegistryLite arg1 )
Returns
Type
Description
Policy
parseFrom(ByteBuffer arg0)
public static Policy parseFrom ( ByteBuffer arg0 )
Returns
Type
Description
Policy
parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)
public static Policy parseFrom ( ByteBuffer arg0 , ExtensionRegistryLite arg1 )
Returns
Type
Description
Policy
parser()
public static Parser<Policy> parser ()
Methods
containsAnnotations(String arg0)
public boolean containsAnnotations ( String arg0 )
Parameter
Name
Description
arg0
String
equals(Object arg0)
public boolean equals ( Object arg0 )
Parameter
Name
Description
arg0
Object
Overrides
getAnnotations() (deprecated)
public Map<String , String > getAnnotations ()
getAnnotationsCount()
public int getAnnotationsCount ()
Returns
Type
Description
int
getAnnotationsMap()
public Map<String , String > getAnnotationsMap ()
getAnnotationsOrDefault(String arg0, String arg1)
public String getAnnotationsOrDefault ( String arg0 , String arg1 )
Returns
Type
Description
String
getAnnotationsOrThrow(String arg0)
public String getAnnotationsOrThrow ( String arg0 )
Parameter
Name
Description
arg0
String
Returns
Type
Description
String
getCreateTime()
public Timestamp getCreateTime ()
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder ()
getDefaultInstanceForType()
public Policy getDefaultInstanceForType ()
Returns
Type
Description
Policy
getDeleteTime()
public Timestamp getDeleteTime ()
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder ()
getDisplayName()
public String getDisplayName ()
Returns
Type
Description
String
getDisplayNameBytes()
public ByteString getDisplayNameBytes ()
getEtag()
Returns
Type
Description
String
getEtagBytes()
public ByteString getEtagBytes ()
getKind()
Returns
Type
Description
String
getKindBytes()
public ByteString getKindBytes ()
getManagingAuthority()
public String getManagingAuthority ()
Returns
Type
Description
String
getManagingAuthorityBytes()
public ByteString getManagingAuthorityBytes ()
getName()
Returns
Type
Description
String
getNameBytes()
public ByteString getNameBytes ()
getParserForType()
public Parser<Policy> getParserForType ()
Overrides
getRules(int arg0)
public PolicyRule getRules ( int arg0 )
Parameter
Name
Description
arg0
int
getRulesCount()
public int getRulesCount ()
Returns
Type
Description
int
getRulesList()
public List<PolicyRule> getRulesList ()
getRulesOrBuilder(int arg0)
public PolicyRuleOrBuilder getRulesOrBuilder ( int arg0 )
Parameter
Name
Description
arg0
int
getRulesOrBuilderList()
public List <? extends PolicyRuleOrBuilder > getRulesOrBuilderList ()
Returns
Type
Description
List <? extends com.google.iam.v2.PolicyRuleOrBuilder >
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUid()
Returns
Type
Description
String
getUidBytes()
public ByteString getUidBytes ()
getUpdateTime()
public Timestamp getUpdateTime ()
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder ()
hasCreateTime()
public boolean hasCreateTime ()
hasDeleteTime()
public boolean hasDeleteTime ()
hasUpdateTime()
public boolean hasUpdateTime ()
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
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.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Policy . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent arg0)
protected Policy . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent arg0 )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter arg0)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter arg0 )
Returns
Type
Description
Object
Overrides
toBuilder()
public Policy . Builder toBuilder ()
writeTo(CodedOutputStream arg0)
public void writeTo ( CodedOutputStream arg0 )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]