Send feedback
Class Policy.Builder (1.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.10.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.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 ()
Returns
Methods
addAllRules(Iterable<? extends PolicyRule> arg0)
public Policy . Builder addAllRules ( Iterable <? extends PolicyRule > arg0 )
Parameter
Name Description arg0
Iterable <? extends com.google.iam.v2beta.PolicyRule >
Returns
addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)
public Policy . Builder addRepeatedField ( Descriptors . FieldDescriptor arg0 , Object arg1 )
Parameters
Returns
Overrides
addRules(PolicyRule arg0)
public Policy . Builder addRules ( PolicyRule arg0 )
Parameter
Returns
addRules(PolicyRule.Builder arg0)
public Policy . Builder addRules ( PolicyRule . Builder arg0 )
Parameter
Returns
addRules(int arg0, PolicyRule arg1)
public Policy . Builder addRules ( int arg0 , PolicyRule arg1 )
Parameters
Returns
addRules(int arg0, PolicyRule.Builder arg1)
public Policy . Builder addRules ( int arg0 , PolicyRule . Builder arg1 )
Parameters
Returns
addRulesBuilder()
public PolicyRule . Builder addRulesBuilder ()
Returns
addRulesBuilder(int arg0)
public PolicyRule . Builder addRulesBuilder ( int arg0 )
Parameter
Returns
build()
Returns
buildPartial()
public Policy buildPartial ()
Returns
clear()
public Policy . Builder clear ()
Returns
Overrides
clearAnnotations()
public Policy . Builder clearAnnotations ()
Returns
clearCreateTime()
public Policy . Builder clearCreateTime ()
Returns
clearDeleteTime()
public Policy . Builder clearDeleteTime ()
Returns
clearDisplayName()
public Policy . Builder clearDisplayName ()
Returns
clearEtag()
public Policy . Builder clearEtag ()
Returns
clearField(Descriptors.FieldDescriptor arg0)
public Policy . Builder clearField ( Descriptors . FieldDescriptor arg0 )
Parameter
Returns
Overrides
clearKind()
public Policy . Builder clearKind ()
Returns
clearName()
public Policy . Builder clearName ()
Returns
clearOneof(Descriptors.OneofDescriptor arg0)
public Policy . Builder clearOneof ( Descriptors . OneofDescriptor arg0 )
Parameter
Returns
Overrides
clearRules()
public Policy . Builder clearRules ()
Returns
clearUid()
public Policy . Builder clearUid ()
Returns
clearUpdateTime()
public Policy . Builder clearUpdateTime ()
Returns
clone()
public Policy . Builder clone ()
Returns
Overrides
containsAnnotations(String arg0)
public boolean containsAnnotations ( String arg0 )
Parameter
Returns
getAnnotations()
public Map<String , String > getAnnotations ()
Returns
getAnnotationsCount()
public int getAnnotationsCount ()
Returns
getAnnotationsMap()
public Map<String , String > getAnnotationsMap ()
Returns
getAnnotationsOrDefault(String arg0, String arg1)
public String getAnnotationsOrDefault ( String arg0 , String arg1 )
Parameters
Returns
getAnnotationsOrThrow(String arg0)
public String getAnnotationsOrThrow ( String arg0 )
Parameter
Returns
getCreateTime()
public Timestamp getCreateTime ()
Returns
getCreateTimeBuilder()
public Timestamp . Builder getCreateTimeBuilder ()
Returns
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder ()
Returns
getDefaultInstanceForType()
public Policy getDefaultInstanceForType ()
Returns
getDeleteTime()
public Timestamp getDeleteTime ()
Returns
getDeleteTimeBuilder()
public Timestamp . Builder getDeleteTimeBuilder ()
Returns
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getDisplayName()
public String getDisplayName ()
Returns
getDisplayNameBytes()
public ByteString getDisplayNameBytes ()
Returns
getEtag()
Returns
getEtagBytes()
public ByteString getEtagBytes ()
Returns
getKind()
Returns
getKindBytes()
public ByteString getKindBytes ()
Returns
getMutableAnnotations()
public Map<String , String > getMutableAnnotations ()
Returns
getName()
Returns
getNameBytes()
public ByteString getNameBytes ()
Returns
getRules(int arg0)
public PolicyRule getRules ( int arg0 )
Parameter
Returns
getRulesBuilder(int arg0)
public PolicyRule . Builder getRulesBuilder ( int arg0 )
Parameter
Returns
getRulesBuilderList()
public List<PolicyRule . Builder > getRulesBuilderList ()
Returns
getRulesCount()
public int getRulesCount ()
Returns
getRulesList()
public List<PolicyRule> getRulesList ()
Returns
getRulesOrBuilder(int arg0)
public PolicyRuleOrBuilder getRulesOrBuilder ( int arg0 )
Parameter
Returns
getRulesOrBuilderList()
public List <? extends PolicyRuleOrBuilder > getRulesOrBuilderList ()
Returns
Type Description List <? extends com.google.iam.v2beta.PolicyRuleOrBuilder >
getUid()
Returns
getUidBytes()
public ByteString getUidBytes ()
Returns
getUpdateTime()
public Timestamp getUpdateTime ()
Returns
getUpdateTimeBuilder()
public Timestamp . Builder getUpdateTimeBuilder ()
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder ()
Returns
hasCreateTime()
public boolean hasCreateTime ()
Returns
hasDeleteTime()
public boolean hasDeleteTime ()
Returns
hasUpdateTime()
public boolean hasUpdateTime ()
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
internalGetMapField(int arg0)
protected MapField internalGetMapField ( int arg0 )
Parameter
Returns
Overrides
internalGetMutableMapField(int arg0)
protected MapField internalGetMutableMapField ( int arg0 )
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeCreateTime(Timestamp arg0)
public Policy . Builder mergeCreateTime ( Timestamp arg0 )
Parameter
Returns
mergeDeleteTime(Timestamp arg0)
public Policy . Builder mergeDeleteTime ( Timestamp arg0 )
Parameter
Returns
mergeFrom(Policy arg0)
public Policy . Builder mergeFrom ( Policy arg0 )
Parameter
Returns
public Policy . Builder mergeFrom ( CodedInputStream arg0 , ExtensionRegistryLite arg1 )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message arg0)
public Policy . Builder mergeFrom ( Message arg0 )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet arg0)
public final Policy . Builder mergeUnknownFields ( UnknownFieldSet arg0 )
Parameter
Returns
Overrides
mergeUpdateTime(Timestamp arg0)
public Policy . Builder mergeUpdateTime ( Timestamp arg0 )
Parameter
Returns
putAllAnnotations(Map<String,String> arg0)
public Policy . Builder putAllAnnotations ( Map<String , String > arg0 )
Parameter
Returns
putAnnotations(String arg0, String arg1)
public Policy . Builder putAnnotations ( String arg0 , String arg1 )
Parameters
Returns
removeAnnotations(String arg0)
public Policy . Builder removeAnnotations ( String arg0 )
Parameter
Returns
removeRules(int arg0)
public Policy . Builder removeRules ( int arg0 )
Parameter
Returns
setCreateTime(Timestamp arg0)
public Policy . Builder setCreateTime ( Timestamp arg0 )
Parameter
Returns
setCreateTime(Timestamp.Builder arg0)
public Policy . Builder setCreateTime ( Timestamp . Builder arg0 )
Parameter
Returns
setDeleteTime(Timestamp arg0)
public Policy . Builder setDeleteTime ( Timestamp arg0 )
Parameter
Returns
setDeleteTime(Timestamp.Builder arg0)
public Policy . Builder setDeleteTime ( Timestamp . Builder arg0 )
Parameter
Returns
setDisplayName(String arg0)
public Policy . Builder setDisplayName ( String arg0 )
Parameter
Returns
setDisplayNameBytes(ByteString arg0)
public Policy . Builder setDisplayNameBytes ( ByteString arg0 )
Parameter
Returns
setEtag(String arg0)
public Policy . Builder setEtag ( String arg0 )
Parameter
Returns
setEtagBytes(ByteString arg0)
public Policy . Builder setEtagBytes ( ByteString arg0 )
Parameter
Returns
setField(Descriptors.FieldDescriptor arg0, Object arg1)
public Policy . Builder setField ( Descriptors . FieldDescriptor arg0 , Object arg1 )
Parameters
Returns
Overrides
setKind(String arg0)
public Policy . Builder setKind ( String arg0 )
Parameter
Returns
setKindBytes(ByteString arg0)
public Policy . Builder setKindBytes ( ByteString arg0 )
Parameter
Returns
setName(String arg0)
public Policy . Builder setName ( String arg0 )
Parameter
Returns
setNameBytes(ByteString arg0)
public Policy . Builder setNameBytes ( ByteString arg0 )
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)
public Policy . Builder setRepeatedField ( Descriptors . FieldDescriptor arg0 , int arg1 , Object arg2 )
Parameters
Returns
Overrides
setRules(int arg0, PolicyRule arg1)
public Policy . Builder setRules ( int arg0 , PolicyRule arg1 )
Parameters
Returns
setRules(int arg0, PolicyRule.Builder arg1)
public Policy . Builder setRules ( int arg0 , PolicyRule . Builder arg1 )
Parameters
Returns
setUid(String arg0)
public Policy . Builder setUid ( String arg0 )
Parameter
Returns
setUidBytes(ByteString arg0)
public Policy . Builder setUidBytes ( ByteString arg0 )
Parameter
Returns
setUnknownFields(UnknownFieldSet arg0)
public final Policy . Builder setUnknownFields ( UnknownFieldSet arg0 )
Parameter
Returns
Overrides
setUpdateTime(Timestamp arg0)
public Policy . Builder setUpdateTime ( Timestamp arg0 )
Parameter
Returns
setUpdateTime(Timestamp.Builder arg0)
public Policy . Builder setUpdateTime ( Timestamp . Builder arg0 )
Parameter
Returns
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-19 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-19 UTC."],[],[]]