Send feedback
Class Policy (1.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.16.0 keyboard_arrow_down
public final class Policy extends GeneratedMessageV3 implements PolicyOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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 ()
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 )
public static Policy parseDelimitedFrom ( InputStream arg0 , ExtensionRegistryLite arg1 )
parseFrom(byte[] arg0)
public static Policy parseFrom ( byte [] arg0 )
Parameter Name Description arg0
byte []
parseFrom(byte[] arg0, ExtensionRegistryLite arg1)
public static Policy parseFrom ( byte [] arg0 , ExtensionRegistryLite arg1 )
parseFrom(ByteString arg0)
public static Policy parseFrom ( ByteString arg0 )
parseFrom(ByteString arg0, ExtensionRegistryLite arg1)
public static Policy parseFrom ( ByteString arg0 , ExtensionRegistryLite arg1 )
public static Policy parseFrom ( CodedInputStream arg0 )
public static Policy parseFrom ( CodedInputStream arg0 , ExtensionRegistryLite arg1 )
public static Policy parseFrom ( InputStream arg0 )
public static Policy parseFrom ( InputStream arg0 , ExtensionRegistryLite arg1 )
parseFrom(ByteBuffer arg0)
public static Policy parseFrom ( ByteBuffer arg0 )
parseFrom(ByteBuffer arg0, ExtensionRegistryLite arg1)
public static Policy parseFrom ( ByteBuffer arg0 , ExtensionRegistryLite arg1 )
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()
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 )
getAnnotationsOrThrow(String arg0)
public String getAnnotationsOrThrow ( String arg0 )
Parameter Name Description arg0
String
getCreateTime()
public Timestamp getCreateTime ()
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder ()
getDefaultInstanceForType()
public Policy getDefaultInstanceForType ()
getDeleteTime()
public Timestamp getDeleteTime ()
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder ()
getDisplayName()
public String getDisplayName ()
getDisplayNameBytes()
public ByteString getDisplayNameBytes ()
getEtag()
getEtagBytes()
public ByteString getEtagBytes ()
getKind()
getKindBytes()
public ByteString getKindBytes ()
getManagingAuthority()
public String getManagingAuthority ()
getManagingAuthorityBytes()
public ByteString getManagingAuthorityBytes ()
getName()
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()
getUidBytes()
public ByteString getUidBytes ()
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
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
internalGetMapField(int arg0)
protected MapField internalGetMapField ( int arg0 )
Parameter Name Description arg0
int
Overrides
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 )
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-02-22 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-02-22 UTC."],[],[]]