- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
public static final class Policy.Builder extends GeneratedMessageV3.Builder<Policy.Builder> implements PolicyOrBuilder
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Policy.BuilderImplements
PolicyOrBuilderInherited 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()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
Policy.Builder |
addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)
public Policy.Builder addRepeatedField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters | |
---|---|
Name | Description |
arg0 | FieldDescriptor |
arg1 | Object |
Returns | |
---|---|
Type | Description |
Policy.Builder |
addRules(PolicyRule arg0)
public Policy.Builder addRules(PolicyRule arg0)
Parameter | |
---|---|
Name | Description |
arg0 | PolicyRule |
Returns | |
---|---|
Type | Description |
Policy.Builder |
addRules(PolicyRule.Builder arg0)
public Policy.Builder addRules(PolicyRule.Builder arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Builder |
Returns | |
---|---|
Type | Description |
Policy.Builder |
addRules(int arg0, PolicyRule arg1)
public Policy.Builder addRules(int arg0, PolicyRule arg1)
Parameters | |
---|---|
Name | Description |
arg0 | int |
arg1 | PolicyRule |
Returns | |
---|---|
Type | Description |
Policy.Builder |
addRules(int arg0, PolicyRule.Builder arg1)
public Policy.Builder addRules(int arg0, PolicyRule.Builder arg1)
Returns | |
---|---|
Type | Description |
Policy.Builder |
addRulesBuilder()
public PolicyRule.Builder addRulesBuilder()
Returns | |
---|---|
Type | Description |
Builder |
addRulesBuilder(int arg0)
public PolicyRule.Builder addRulesBuilder(int arg0)
Parameter | |
---|---|
Name | Description |
arg0 | int |
Returns | |
---|---|
Type | Description |
Builder |
build()
public Policy build()
Returns | |
---|---|
Type | Description |
Policy |
buildPartial()
public Policy buildPartial()
Returns | |
---|---|
Type | Description |
Policy |
clear()
public Policy.Builder clear()
Returns | |
---|---|
Type | Description |
Policy.Builder |
clearAnnotations()
public Policy.Builder clearAnnotations()
Returns | |
---|---|
Type | Description |
Policy.Builder |
clearCreateTime()
public Policy.Builder clearCreateTime()
Returns | |
---|---|
Type | Description |
Policy.Builder |
clearDeleteTime()
public Policy.Builder clearDeleteTime()
Returns | |
---|---|
Type | Description |
Policy.Builder |
clearDisplayName()
public Policy.Builder clearDisplayName()
Returns | |
---|---|
Type | Description |
Policy.Builder |
clearEtag()
public Policy.Builder clearEtag()
Returns | |
---|---|
Type | Description |
Policy.Builder |
clearField(Descriptors.FieldDescriptor arg0)
public Policy.Builder clearField(Descriptors.FieldDescriptor arg0)
Parameter | |
---|---|
Name | Description |
arg0 | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Policy.Builder |
clearKind()
public Policy.Builder clearKind()
Returns | |
---|---|
Type | Description |
Policy.Builder |
clearName()
public Policy.Builder clearName()
Returns | |
---|---|
Type | Description |
Policy.Builder |
clearOneof(Descriptors.OneofDescriptor arg0)
public Policy.Builder clearOneof(Descriptors.OneofDescriptor arg0)
Parameter | |
---|---|
Name | Description |
arg0 | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Policy.Builder |
clearRules()
public Policy.Builder clearRules()
Returns | |
---|---|
Type | Description |
Policy.Builder |
clearUid()
public Policy.Builder clearUid()
Returns | |
---|---|
Type | Description |
Policy.Builder |
clearUpdateTime()
public Policy.Builder clearUpdateTime()
Returns | |
---|---|
Type | Description |
Policy.Builder |
clone()
public Policy.Builder clone()
Returns | |
---|---|
Type | Description |
Policy.Builder |
containsAnnotations(String arg0)
public boolean containsAnnotations(String arg0)
Parameter | |
---|---|
Name | Description |
arg0 | String |
Returns | |
---|---|
Type | Description |
boolean |
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()
Returns | |
---|---|
Type | Description |
Timestamp |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Policy getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Policy |
getDeleteTime()
public Timestamp getDeleteTime()
Returns | |
---|---|
Type | Description |
Timestamp |
getDeleteTimeBuilder()
public Timestamp.Builder getDeleteTimeBuilder()
Returns | |
---|---|
Type | Description |
Builder |
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Returns | |
---|---|
Type | Description |
String |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Returns | |
---|---|
Type | Description |
ByteString |
getEtag()
public String getEtag()
Returns | |
---|---|
Type | Description |
String |
getEtagBytes()
public ByteString getEtagBytes()
Returns | |
---|---|
Type | Description |
ByteString |
getKind()
public String getKind()
Returns | |
---|---|
Type | Description |
String |
getKindBytes()
public ByteString getKindBytes()
Returns | |
---|---|
Type | Description |
ByteString |
getMutableAnnotations() (deprecated)
public Map<String,String> getMutableAnnotations()
getName()
public String getName()
Returns | |
---|---|
Type | Description |
String |
getNameBytes()
public ByteString getNameBytes()
Returns | |
---|---|
Type | Description |
ByteString |
getRules(int arg0)
public PolicyRule getRules(int arg0)
Parameter | |
---|---|
Name | Description |
arg0 | int |
Returns | |
---|---|
Type | Description |
PolicyRule |
getRulesBuilder(int arg0)
public PolicyRule.Builder getRulesBuilder(int arg0)
Parameter | |
---|---|
Name | Description |
arg0 | int |
Returns | |
---|---|
Type | Description |
Builder |
getRulesBuilderList()
public List<PolicyRule.Builder> getRulesBuilderList()
getRulesCount()
public int getRulesCount()
Returns | |
---|---|
Type | Description |
int |
getRulesList()
public List<PolicyRule> getRulesList()
Returns | |
---|---|
Type | Description |
List<PolicyRule> |
getRulesOrBuilder(int arg0)
public PolicyRuleOrBuilder getRulesOrBuilder(int arg0)
Parameter | |
---|---|
Name | Description |
arg0 | int |
Returns | |
---|---|
Type | Description |
PolicyRuleOrBuilder |
getRulesOrBuilderList()
public List<? extends PolicyRuleOrBuilder> getRulesOrBuilderList()
Returns | |
---|---|
Type | Description |
List<? extends com.google.iam.v2beta.PolicyRuleOrBuilder> |
getUid()
public String getUid()
Returns | |
---|---|
Type | Description |
String |
getUidBytes()
public ByteString getUidBytes()
Returns | |
---|---|
Type | Description |
ByteString |
getUpdateTime()
public Timestamp getUpdateTime()
Returns | |
---|---|
Type | Description |
Timestamp |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Returns | |
---|---|
Type | Description |
boolean |
hasDeleteTime()
public boolean hasDeleteTime()
Returns | |
---|---|
Type | Description |
boolean |
hasUpdateTime()
public boolean hasUpdateTime()
Returns | |
---|---|
Type | Description |
boolean |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int arg0)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int arg0)
Parameter | |
---|---|
Name | Description |
arg0 | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int arg0)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int arg0)
Parameter | |
---|---|
Name | Description |
arg0 | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp arg0)
public Policy.Builder mergeCreateTime(Timestamp arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Timestamp |
Returns | |
---|---|
Type | Description |
Policy.Builder |
mergeDeleteTime(Timestamp arg0)
public Policy.Builder mergeDeleteTime(Timestamp arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Timestamp |
Returns | |
---|---|
Type | Description |
Policy.Builder |
mergeFrom(Policy arg0)
public Policy.Builder mergeFrom(Policy arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Policy |
Returns | |
---|---|
Type | Description |
Policy.Builder |
mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
public Policy.Builder mergeFrom(CodedInputStream arg0, ExtensionRegistryLite arg1)
Parameters | |
---|---|
Name | Description |
arg0 | CodedInputStream |
arg1 | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Policy.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message arg0)
public Policy.Builder mergeFrom(Message arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Message |
Returns | |
---|---|
Type | Description |
Policy.Builder |
mergeUnknownFields(UnknownFieldSet arg0)
public final Policy.Builder mergeUnknownFields(UnknownFieldSet arg0)
Parameter | |
---|---|
Name | Description |
arg0 | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Policy.Builder |
mergeUpdateTime(Timestamp arg0)
public Policy.Builder mergeUpdateTime(Timestamp arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Timestamp |
Returns | |
---|---|
Type | Description |
Policy.Builder |
putAllAnnotations(Map<String,String> arg0)
public Policy.Builder putAllAnnotations(Map<String,String> arg0)
Returns | |
---|---|
Type | Description |
Policy.Builder |
putAnnotations(String arg0, String arg1)
public Policy.Builder putAnnotations(String arg0, String arg1)
Returns | |
---|---|
Type | Description |
Policy.Builder |
removeAnnotations(String arg0)
public Policy.Builder removeAnnotations(String arg0)
Parameter | |
---|---|
Name | Description |
arg0 | String |
Returns | |
---|---|
Type | Description |
Policy.Builder |
removeRules(int arg0)
public Policy.Builder removeRules(int arg0)
Parameter | |
---|---|
Name | Description |
arg0 | int |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setCreateTime(Timestamp arg0)
public Policy.Builder setCreateTime(Timestamp arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Timestamp |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setCreateTime(Timestamp.Builder arg0)
public Policy.Builder setCreateTime(Timestamp.Builder arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Builder |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setDeleteTime(Timestamp arg0)
public Policy.Builder setDeleteTime(Timestamp arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Timestamp |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setDeleteTime(Timestamp.Builder arg0)
public Policy.Builder setDeleteTime(Timestamp.Builder arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Builder |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setDisplayName(String arg0)
public Policy.Builder setDisplayName(String arg0)
Parameter | |
---|---|
Name | Description |
arg0 | String |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setDisplayNameBytes(ByteString arg0)
public Policy.Builder setDisplayNameBytes(ByteString arg0)
Parameter | |
---|---|
Name | Description |
arg0 | ByteString |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setEtag(String arg0)
public Policy.Builder setEtag(String arg0)
Parameter | |
---|---|
Name | Description |
arg0 | String |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setEtagBytes(ByteString arg0)
public Policy.Builder setEtagBytes(ByteString arg0)
Parameter | |
---|---|
Name | Description |
arg0 | ByteString |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setField(Descriptors.FieldDescriptor arg0, Object arg1)
public Policy.Builder setField(Descriptors.FieldDescriptor arg0, Object arg1)
Parameters | |
---|---|
Name | Description |
arg0 | FieldDescriptor |
arg1 | Object |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setKind(String arg0)
public Policy.Builder setKind(String arg0)
Parameter | |
---|---|
Name | Description |
arg0 | String |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setKindBytes(ByteString arg0)
public Policy.Builder setKindBytes(ByteString arg0)
Parameter | |
---|---|
Name | Description |
arg0 | ByteString |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setName(String arg0)
public Policy.Builder setName(String arg0)
Parameter | |
---|---|
Name | Description |
arg0 | String |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setNameBytes(ByteString arg0)
public Policy.Builder setNameBytes(ByteString arg0)
Parameter | |
---|---|
Name | Description |
arg0 | ByteString |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)
public Policy.Builder setRepeatedField(Descriptors.FieldDescriptor arg0, int arg1, Object arg2)
Parameters | |
---|---|
Name | Description |
arg0 | FieldDescriptor |
arg1 | int |
arg2 | Object |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setRules(int arg0, PolicyRule arg1)
public Policy.Builder setRules(int arg0, PolicyRule arg1)
Parameters | |
---|---|
Name | Description |
arg0 | int |
arg1 | PolicyRule |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setRules(int arg0, PolicyRule.Builder arg1)
public Policy.Builder setRules(int arg0, PolicyRule.Builder arg1)
Returns | |
---|---|
Type | Description |
Policy.Builder |
setUid(String arg0)
public Policy.Builder setUid(String arg0)
Parameter | |
---|---|
Name | Description |
arg0 | String |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setUidBytes(ByteString arg0)
public Policy.Builder setUidBytes(ByteString arg0)
Parameter | |
---|---|
Name | Description |
arg0 | ByteString |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setUnknownFields(UnknownFieldSet arg0)
public final Policy.Builder setUnknownFields(UnknownFieldSet arg0)
Parameter | |
---|---|
Name | Description |
arg0 | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setUpdateTime(Timestamp arg0)
public Policy.Builder setUpdateTime(Timestamp arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Timestamp |
Returns | |
---|---|
Type | Description |
Policy.Builder |
setUpdateTime(Timestamp.Builder arg0)
public Policy.Builder setUpdateTime(Timestamp.Builder arg0)
Parameter | |
---|---|
Name | Description |
arg0 | Builder |
Returns | |
---|---|
Type | Description |
Policy.Builder |