Class Policy.Builder (1.7.0)

public static final class Policy.Builder extends GeneratedMessageV3.Builder<Policy.Builder> implements PolicyOrBuilder

Implements

PolicyOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllRules(Iterable<? extends PolicyRule> arg0)

public Policy.Builder addAllRules(Iterable<? extends PolicyRule> arg0)
Parameter
NameDescription
arg0Iterable<? extends com.google.iam.v2.PolicyRule>
Returns
TypeDescription
Policy.Builder

addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)

public Policy.Builder addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters
NameDescription
arg0FieldDescriptor
arg1Object
Returns
TypeDescription
Policy.Builder
Overrides

addRules(PolicyRule arg0)

public Policy.Builder addRules(PolicyRule arg0)
Parameter
NameDescription
arg0PolicyRule
Returns
TypeDescription
Policy.Builder

addRules(PolicyRule.Builder arg0)

public Policy.Builder addRules(PolicyRule.Builder arg0)
Parameter
NameDescription
arg0Builder
Returns
TypeDescription
Policy.Builder

addRules(int arg0, PolicyRule arg1)

public Policy.Builder addRules(int arg0, PolicyRule arg1)
Parameters
NameDescription
arg0int
arg1PolicyRule
Returns
TypeDescription
Policy.Builder

addRules(int arg0, PolicyRule.Builder arg1)

public Policy.Builder addRules(int arg0, PolicyRule.Builder arg1)
Parameters
NameDescription
arg0int
arg1Builder
Returns
TypeDescription
Policy.Builder

addRulesBuilder()

public PolicyRule.Builder addRulesBuilder()
Returns
TypeDescription
Builder

addRulesBuilder(int arg0)

public PolicyRule.Builder addRulesBuilder(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
Builder

build()

public Policy build()
Returns
TypeDescription
Policy

buildPartial()

public Policy buildPartial()
Returns
TypeDescription
Policy

clear()

public Policy.Builder clear()
Returns
TypeDescription
Policy.Builder
Overrides

clearAnnotations()

public Policy.Builder clearAnnotations()
Returns
TypeDescription
Policy.Builder

clearCreateTime()

public Policy.Builder clearCreateTime()
Returns
TypeDescription
Policy.Builder

clearDeleteTime()

public Policy.Builder clearDeleteTime()
Returns
TypeDescription
Policy.Builder

clearDisplayName()

public Policy.Builder clearDisplayName()
Returns
TypeDescription
Policy.Builder

clearEtag()

public Policy.Builder clearEtag()
Returns
TypeDescription
Policy.Builder

clearField(Descriptors.FieldDescriptor arg0)

public Policy.Builder clearField(Descriptors.FieldDescriptor arg0)
Parameter
NameDescription
arg0FieldDescriptor
Returns
TypeDescription
Policy.Builder
Overrides

clearKind()

public Policy.Builder clearKind()
Returns
TypeDescription
Policy.Builder

clearManagingAuthority()

public Policy.Builder clearManagingAuthority()
Returns
TypeDescription
Policy.Builder

clearName()

public Policy.Builder clearName()
Returns
TypeDescription
Policy.Builder

clearOneof(Descriptors.OneofDescriptor arg0)

public Policy.Builder clearOneof(Descriptors.OneofDescriptor arg0)
Parameter
NameDescription
arg0OneofDescriptor
Returns
TypeDescription
Policy.Builder
Overrides

clearRules()

public Policy.Builder clearRules()
Returns
TypeDescription
Policy.Builder

clearUid()

public Policy.Builder clearUid()
Returns
TypeDescription
Policy.Builder

clearUpdateTime()

public Policy.Builder clearUpdateTime()
Returns
TypeDescription
Policy.Builder

clone()

public Policy.Builder clone()
Returns
TypeDescription
Policy.Builder
Overrides

containsAnnotations(String arg0)

public boolean containsAnnotations(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
boolean

getAnnotations()

public Map<String,String> getAnnotations()
Returns
TypeDescription
Map<String,String>

getAnnotationsCount()

public int getAnnotationsCount()
Returns
TypeDescription
int

getAnnotationsMap()

public Map<String,String> getAnnotationsMap()
Returns
TypeDescription
Map<String,String>

getAnnotationsOrDefault(String arg0, String arg1)

public String getAnnotationsOrDefault(String arg0, String arg1)
Parameters
NameDescription
arg0String
arg1String
Returns
TypeDescription
String

getAnnotationsOrThrow(String arg0)

public String getAnnotationsOrThrow(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
String

getCreateTime()

public Timestamp getCreateTime()
Returns
TypeDescription
Timestamp

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()
Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()
Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Policy getDefaultInstanceForType()
Returns
TypeDescription
Policy

getDeleteTime()

public Timestamp getDeleteTime()
Returns
TypeDescription
Timestamp

getDeleteTimeBuilder()

public Timestamp.Builder getDeleteTimeBuilder()
Returns
TypeDescription
Builder

getDeleteTimeOrBuilder()

public TimestampOrBuilder getDeleteTimeOrBuilder()
Returns
TypeDescription
TimestampOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()
Returns
TypeDescription
String

getDisplayNameBytes()

public ByteString getDisplayNameBytes()
Returns
TypeDescription
ByteString

getEtag()

public String getEtag()
Returns
TypeDescription
String

getEtagBytes()

public ByteString getEtagBytes()
Returns
TypeDescription
ByteString

getKind()

public String getKind()
Returns
TypeDescription
String

getKindBytes()

public ByteString getKindBytes()
Returns
TypeDescription
ByteString

getManagingAuthority()

public String getManagingAuthority()
Returns
TypeDescription
String

getManagingAuthorityBytes()

public ByteString getManagingAuthorityBytes()
Returns
TypeDescription
ByteString

getMutableAnnotations()

public Map<String,String> getMutableAnnotations()
Returns
TypeDescription
Map<String,String>

getName()

public String getName()
Returns
TypeDescription
String

getNameBytes()

public ByteString getNameBytes()
Returns
TypeDescription
ByteString

getRules(int arg0)

public PolicyRule getRules(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
PolicyRule

getRulesBuilder(int arg0)

public PolicyRule.Builder getRulesBuilder(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
Builder

getRulesBuilderList()

public List<PolicyRule.Builder> getRulesBuilderList()
Returns
TypeDescription
List<Builder>

getRulesCount()

public int getRulesCount()
Returns
TypeDescription
int

getRulesList()

public List<PolicyRule> getRulesList()
Returns
TypeDescription
List<PolicyRule>

getRulesOrBuilder(int arg0)

public PolicyRuleOrBuilder getRulesOrBuilder(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
PolicyRuleOrBuilder

getRulesOrBuilderList()

public List<? extends PolicyRuleOrBuilder> getRulesOrBuilderList()
Returns
TypeDescription
List<? extends com.google.iam.v2.PolicyRuleOrBuilder>

getUid()

public String getUid()
Returns
TypeDescription
String

getUidBytes()

public ByteString getUidBytes()
Returns
TypeDescription
ByteString

getUpdateTime()

public Timestamp getUpdateTime()
Returns
TypeDescription
Timestamp

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()
Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()
Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()
Returns
TypeDescription
boolean

hasDeleteTime()

public boolean hasDeleteTime()
Returns
TypeDescription
boolean

hasUpdateTime()

public boolean hasUpdateTime()
Returns
TypeDescription
boolean

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int arg0)

protected MapField internalGetMapField(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int arg0)

protected MapField internalGetMutableMapField(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp arg0)

public Policy.Builder mergeCreateTime(Timestamp arg0)
Parameter
NameDescription
arg0Timestamp
Returns
TypeDescription
Policy.Builder

mergeDeleteTime(Timestamp arg0)

public Policy.Builder mergeDeleteTime(Timestamp arg0)
Parameter
NameDescription
arg0Timestamp
Returns
TypeDescription
Policy.Builder

mergeFrom(Policy arg0)

public Policy.Builder mergeFrom(Policy arg0)
Parameter
NameDescription
arg0Policy
Returns
TypeDescription
Policy.Builder

mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)

public Policy.Builder mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters
NameDescription
arg0CodedInputStream
arg1ExtensionRegistryLite
Returns
TypeDescription
Policy.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message arg0)

public Policy.Builder mergeFrom(Message arg0)
Parameter
NameDescription
arg0Message
Returns
TypeDescription
Policy.Builder
Overrides

mergeUnknownFields(UnknownFieldSet arg0)

public final Policy.Builder mergeUnknownFields(UnknownFieldSet arg0)
Parameter
NameDescription
arg0UnknownFieldSet
Returns
TypeDescription
Policy.Builder
Overrides

mergeUpdateTime(Timestamp arg0)

public Policy.Builder mergeUpdateTime(Timestamp arg0)
Parameter
NameDescription
arg0Timestamp
Returns
TypeDescription
Policy.Builder

putAllAnnotations(Map<String,String> arg0)

public Policy.Builder putAllAnnotations(Map<String,String> arg0)
Parameter
NameDescription
arg0Map<String,String>
Returns
TypeDescription
Policy.Builder

putAnnotations(String arg0, String arg1)

public Policy.Builder putAnnotations(String arg0, String arg1)
Parameters
NameDescription
arg0String
arg1String
Returns
TypeDescription
Policy.Builder

removeAnnotations(String arg0)

public Policy.Builder removeAnnotations(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Policy.Builder

removeRules(int arg0)

public Policy.Builder removeRules(int arg0)
Parameter
NameDescription
arg0int
Returns
TypeDescription
Policy.Builder

setCreateTime(Timestamp arg0)

public Policy.Builder setCreateTime(Timestamp arg0)
Parameter
NameDescription
arg0Timestamp
Returns
TypeDescription
Policy.Builder

setCreateTime(Timestamp.Builder arg0)

public Policy.Builder setCreateTime(Timestamp.Builder arg0)
Parameter
NameDescription
arg0Builder
Returns
TypeDescription
Policy.Builder

setDeleteTime(Timestamp arg0)

public Policy.Builder setDeleteTime(Timestamp arg0)
Parameter
NameDescription
arg0Timestamp
Returns
TypeDescription
Policy.Builder

setDeleteTime(Timestamp.Builder arg0)

public Policy.Builder setDeleteTime(Timestamp.Builder arg0)
Parameter
NameDescription
arg0Builder
Returns
TypeDescription
Policy.Builder

setDisplayName(String arg0)

public Policy.Builder setDisplayName(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Policy.Builder

setDisplayNameBytes(ByteString arg0)

public Policy.Builder setDisplayNameBytes(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
Policy.Builder

setEtag(String arg0)

public Policy.Builder setEtag(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Policy.Builder

setEtagBytes(ByteString arg0)

public Policy.Builder setEtagBytes(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
Policy.Builder

setField(Descriptors.FieldDescriptor arg0, Object arg1)

public Policy.Builder setField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters
NameDescription
arg0FieldDescriptor
arg1Object
Returns
TypeDescription
Policy.Builder
Overrides

setKind(String arg0)

public Policy.Builder setKind(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Policy.Builder

setKindBytes(ByteString arg0)

public Policy.Builder setKindBytes(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
Policy.Builder

setManagingAuthority(String arg0)

public Policy.Builder setManagingAuthority(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Policy.Builder

setManagingAuthorityBytes(ByteString arg0)

public Policy.Builder setManagingAuthorityBytes(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
Policy.Builder

setName(String arg0)

public Policy.Builder setName(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Policy.Builder

setNameBytes(ByteString arg0)

public Policy.Builder setNameBytes(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
Policy.Builder

setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)

public Policy.Builder setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)
Parameters
NameDescription
arg0FieldDescriptor
arg1int
arg2Object
Returns
TypeDescription
Policy.Builder
Overrides

setRules(int arg0, PolicyRule arg1)

public Policy.Builder setRules(int arg0, PolicyRule arg1)
Parameters
NameDescription
arg0int
arg1PolicyRule
Returns
TypeDescription
Policy.Builder

setRules(int arg0, PolicyRule.Builder arg1)

public Policy.Builder setRules(int arg0, PolicyRule.Builder arg1)
Parameters
NameDescription
arg0int
arg1Builder
Returns
TypeDescription
Policy.Builder

setUid(String arg0)

public Policy.Builder setUid(String arg0)
Parameter
NameDescription
arg0String
Returns
TypeDescription
Policy.Builder

setUidBytes(ByteString arg0)

public Policy.Builder setUidBytes(ByteString arg0)
Parameter
NameDescription
arg0ByteString
Returns
TypeDescription
Policy.Builder

setUnknownFields(UnknownFieldSet arg0)

public final Policy.Builder setUnknownFields(UnknownFieldSet arg0)
Parameter
NameDescription
arg0UnknownFieldSet
Returns
TypeDescription
Policy.Builder
Overrides

setUpdateTime(Timestamp arg0)

public Policy.Builder setUpdateTime(Timestamp arg0)
Parameter
NameDescription
arg0Timestamp
Returns
TypeDescription
Policy.Builder

setUpdateTime(Timestamp.Builder arg0)

public Policy.Builder setUpdateTime(Timestamp.Builder arg0)
Parameter
NameDescription
arg0Builder
Returns
TypeDescription
Policy.Builder