Send feedback
Class Policy.Builder (1.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.33.0 keyboard_arrow_down
public static final class Policy . Builder extends GeneratedMessageV3 . Builder<Policy . Builder > implements PolicyOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllRules(Iterable<? extends PolicyRule> arg0)
public Policy . Builder addAllRules ( Iterable <? extends PolicyRule > arg0 )
Parameter Name Description arg0
Iterable <? extends com.google.iam.v2.PolicyRule >
addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)
public Policy . Builder addRepeatedField ( Descriptors . FieldDescriptor arg0 , Object arg1 )
Overrides
addRules(PolicyRule arg0)
public Policy . Builder addRules ( PolicyRule arg0 )
addRules(PolicyRule.Builder arg0)
public Policy . Builder addRules ( PolicyRule . Builder arg0 )
Parameter Name Description arg0
Builder
addRules(int arg0, PolicyRule arg1)
public Policy . Builder addRules ( int arg0 , PolicyRule arg1 )
addRules(int arg0, PolicyRule.Builder arg1)
public Policy . Builder addRules ( int arg0 , PolicyRule . Builder arg1 )
addRulesBuilder()
public PolicyRule . Builder addRulesBuilder ()
addRulesBuilder(int arg0)
public PolicyRule . Builder addRulesBuilder ( int arg0 )
Parameter Name Description arg0
int
build()
buildPartial()
public Policy buildPartial ()
clear()
public Policy . Builder clear ()
Overrides
clearAnnotations()
public Policy . Builder clearAnnotations ()
clearCreateTime()
public Policy . Builder clearCreateTime ()
clearDeleteTime()
public Policy . Builder clearDeleteTime ()
clearDisplayName()
public Policy . Builder clearDisplayName ()
clearEtag()
public Policy . Builder clearEtag ()
clearField(Descriptors.FieldDescriptor arg0)
public Policy . Builder clearField ( Descriptors . FieldDescriptor arg0 )
Overrides
clearKind()
public Policy . Builder clearKind ()
clearManagingAuthority()
public Policy . Builder clearManagingAuthority ()
clearName()
public Policy . Builder clearName ()
clearOneof(Descriptors.OneofDescriptor arg0)
public Policy . Builder clearOneof ( Descriptors . OneofDescriptor arg0 )
Overrides
clearRules()
public Policy . Builder clearRules ()
clearUid()
public Policy . Builder clearUid ()
clearUpdateTime()
public Policy . Builder clearUpdateTime ()
clone()
public Policy . Builder clone ()
Overrides
containsAnnotations(String arg0)
public boolean containsAnnotations ( String arg0 )
Parameter Name Description arg0
String
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 )
getAnnotationsOrThrow(String arg0)
public String getAnnotationsOrThrow ( String arg0 )
Parameter Name Description arg0
String
getCreateTime()
public Timestamp getCreateTime ()
getCreateTimeBuilder()
public Timestamp . Builder getCreateTimeBuilder ()
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder ()
getDefaultInstanceForType()
public Policy getDefaultInstanceForType ()
getDeleteTime()
public Timestamp getDeleteTime ()
getDeleteTimeBuilder()
public Timestamp . Builder getDeleteTimeBuilder ()
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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 ()
getMutableAnnotations() (deprecated)
public Map<String , String > getMutableAnnotations ()
getName()
getNameBytes()
public ByteString getNameBytes ()
getRules(int arg0)
public PolicyRule getRules ( int arg0 )
Parameter Name Description arg0
int
getRulesBuilder(int arg0)
public PolicyRule . Builder getRulesBuilder ( int arg0 )
Parameter Name Description arg0
int
getRulesBuilderList()
public List<PolicyRule . Builder > getRulesBuilderList ()
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 >
getUid()
getUidBytes()
public ByteString getUidBytes ()
getUpdateTime()
public Timestamp getUpdateTime ()
getUpdateTimeBuilder()
public Timestamp . Builder getUpdateTimeBuilder ()
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder ()
hasCreateTime()
public boolean hasCreateTime ()
hasDeleteTime()
public boolean hasDeleteTime ()
hasUpdateTime()
public boolean hasUpdateTime ()
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapField(int arg0)
protected MapField internalGetMapField ( int arg0 )
Parameter Name Description arg0
int
Overrides
internalGetMutableMapField(int arg0)
protected MapField internalGetMutableMapField ( int arg0 )
Parameter Name Description arg0
int
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeCreateTime(Timestamp arg0)
public Policy . Builder mergeCreateTime ( Timestamp arg0 )
mergeDeleteTime(Timestamp arg0)
public Policy . Builder mergeDeleteTime ( Timestamp arg0 )
mergeFrom(Policy arg0)
public Policy . Builder mergeFrom ( Policy arg0 )
Parameter Name Description arg0
Policy
public Policy . Builder mergeFrom ( CodedInputStream arg0 , ExtensionRegistryLite arg1 )
Overrides
mergeFrom(Message arg0)
public Policy . Builder mergeFrom ( Message arg0 )
Parameter Name Description arg0
Message
Overrides
mergeUnknownFields(UnknownFieldSet arg0)
public final Policy . Builder mergeUnknownFields ( UnknownFieldSet arg0 )
Overrides
mergeUpdateTime(Timestamp arg0)
public Policy . Builder mergeUpdateTime ( Timestamp arg0 )
putAllAnnotations(Map<String,String> arg0)
public Policy . Builder putAllAnnotations ( Map<String , String > arg0 )
putAnnotations(String arg0, String arg1)
public Policy . Builder putAnnotations ( String arg0 , String arg1 )
removeAnnotations(String arg0)
public Policy . Builder removeAnnotations ( String arg0 )
Parameter Name Description arg0
String
removeRules(int arg0)
public Policy . Builder removeRules ( int arg0 )
Parameter Name Description arg0
int
setCreateTime(Timestamp arg0)
public Policy . Builder setCreateTime ( Timestamp arg0 )
setCreateTime(Timestamp.Builder arg0)
public Policy . Builder setCreateTime ( Timestamp . Builder arg0 )
Parameter Name Description arg0
Builder
setDeleteTime(Timestamp arg0)
public Policy . Builder setDeleteTime ( Timestamp arg0 )
setDeleteTime(Timestamp.Builder arg0)
public Policy . Builder setDeleteTime ( Timestamp . Builder arg0 )
Parameter Name Description arg0
Builder
setDisplayName(String arg0)
public Policy . Builder setDisplayName ( String arg0 )
Parameter Name Description arg0
String
setDisplayNameBytes(ByteString arg0)
public Policy . Builder setDisplayNameBytes ( ByteString arg0 )
setEtag(String arg0)
public Policy . Builder setEtag ( String arg0 )
Parameter Name Description arg0
String
setEtagBytes(ByteString arg0)
public Policy . Builder setEtagBytes ( ByteString arg0 )
setField(Descriptors.FieldDescriptor arg0, Object arg1)
public Policy . Builder setField ( Descriptors . FieldDescriptor arg0 , Object arg1 )
Overrides
setKind(String arg0)
public Policy . Builder setKind ( String arg0 )
Parameter Name Description arg0
String
setKindBytes(ByteString arg0)
public Policy . Builder setKindBytes ( ByteString arg0 )
setManagingAuthority(String arg0)
public Policy . Builder setManagingAuthority ( String arg0 )
Parameter Name Description arg0
String
setManagingAuthorityBytes(ByteString arg0)
public Policy . Builder setManagingAuthorityBytes ( ByteString arg0 )
setName(String arg0)
public Policy . Builder setName ( String arg0 )
Parameter Name Description arg0
String
setNameBytes(ByteString arg0)
public Policy . Builder setNameBytes ( ByteString arg0 )
setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)
public Policy . Builder setRepeatedField ( Descriptors . FieldDescriptor arg0 , int arg1 , Object arg2 )
Overrides
setRules(int arg0, PolicyRule arg1)
public Policy . Builder setRules ( int arg0 , PolicyRule arg1 )
setRules(int arg0, PolicyRule.Builder arg1)
public Policy . Builder setRules ( int arg0 , PolicyRule . Builder arg1 )
setUid(String arg0)
public Policy . Builder setUid ( String arg0 )
Parameter Name Description arg0
String
setUidBytes(ByteString arg0)
public Policy . Builder setUidBytes ( ByteString arg0 )
setUnknownFields(UnknownFieldSet arg0)
public final Policy . Builder setUnknownFields ( UnknownFieldSet arg0 )
Overrides
setUpdateTime(Timestamp arg0)
public Policy . Builder setUpdateTime ( Timestamp arg0 )
setUpdateTime(Timestamp.Builder arg0)
public Policy . Builder setUpdateTime ( Timestamp . Builder arg0 )
Parameter Name Description arg0
Builder
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 2024-11-06 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 2024-11-06 UTC."],[],[]]