Package com.google.iam.v2
Class Policy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
com.google.iam.v2.Policy.Builder
- All Implemented Interfaces:
PolicyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Policy
public static final class Policy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
implements PolicyOrBuilder
Data for an IAM policy.Protobuf type
google.iam.v2.Policy-
Method Summary
Modifier and TypeMethodDescriptionaddAllRules(Iterable<? extends PolicyRule> values) A list of rules that specify the behavior of the `Policy`.addRules(int index, PolicyRule value) A list of rules that specify the behavior of the `Policy`.addRules(int index, PolicyRule.Builder builderForValue) A list of rules that specify the behavior of the `Policy`.addRules(PolicyRule value) A list of rules that specify the behavior of the `Policy`.addRules(PolicyRule.Builder builderForValue) A list of rules that specify the behavior of the `Policy`.A list of rules that specify the behavior of the `Policy`.addRulesBuilder(int index) A list of rules that specify the behavior of the `Policy`.build()clear()Output only.Output only.A user-specified description of the `Policy`.An opaque tag that identifies the current version of the `Policy`.Output only.Immutable.Immutable.A list of rules that specify the behavior of the `Policy`.clearUid()Immutable.Output only.booleanA key-value map to store arbitrary metadata for the `Policy`.Deprecated.intA key-value map to store arbitrary metadata for the `Policy`.A key-value map to store arbitrary metadata for the `Policy`.getAnnotationsOrDefault(String key, String defaultValue) A key-value map to store arbitrary metadata for the `Policy`.A key-value map to store arbitrary metadata for the `Policy`.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA user-specified description of the `Policy`.com.google.protobuf.ByteStringA user-specified description of the `Policy`.getEtag()An opaque tag that identifies the current version of the `Policy`.com.google.protobuf.ByteStringAn opaque tag that identifies the current version of the `Policy`.getKind()Output only.com.google.protobuf.ByteStringOutput only.Immutable.com.google.protobuf.ByteStringImmutable.Deprecated.getName()Immutable.com.google.protobuf.ByteStringImmutable.getRules(int index) A list of rules that specify the behavior of the `Policy`.getRulesBuilder(int index) A list of rules that specify the behavior of the `Policy`.A list of rules that specify the behavior of the `Policy`.intA list of rules that specify the behavior of the `Policy`.A list of rules that specify the behavior of the `Policy`.getRulesOrBuilder(int index) A list of rules that specify the behavior of the `Policy`.List<? extends PolicyRuleOrBuilder>A list of rules that specify the behavior of the `Policy`.getUid()Immutable.com.google.protobuf.ByteStringImmutable.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeDeleteTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllAnnotations(Map<String, String> values) A key-value map to store arbitrary metadata for the `Policy`.putAnnotations(String key, String value) A key-value map to store arbitrary metadata for the `Policy`.removeAnnotations(String key) A key-value map to store arbitrary metadata for the `Policy`.removeRules(int index) A list of rules that specify the behavior of the `Policy`.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDeleteTime(com.google.protobuf.Timestamp value) Output only.setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisplayName(String value) A user-specified description of the `Policy`.setDisplayNameBytes(com.google.protobuf.ByteString value) A user-specified description of the `Policy`.An opaque tag that identifies the current version of the `Policy`.setEtagBytes(com.google.protobuf.ByteString value) An opaque tag that identifies the current version of the `Policy`.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.setManagingAuthority(String value) Immutable.setManagingAuthorityBytes(com.google.protobuf.ByteString value) Immutable.Immutable.setNameBytes(com.google.protobuf.ByteString value) Immutable.setRules(int index, PolicyRule value) A list of rules that specify the behavior of the `Policy`.setRules(int index, PolicyRule.Builder builderForValue) A list of rules that specify the behavior of the `Policy`.Immutable.setUidBytes(com.google.protobuf.ByteString value) Immutable.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Policy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Policy.Builder>
-
mergeFrom
public Policy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Policy.Builder>- Throws:
IOException
-
getName
Immutable. The resource name of the `Policy`, which must be unique. Format: `policies/{attachment_point}/denypolicies/{policy_id}` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, requests can use the alphanumeric or the numeric ID. Responses always contain the numeric ID.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNamein interfacePolicyOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Immutable. The resource name of the `Policy`, which must be unique. Format: `policies/{attachment_point}/denypolicies/{policy_id}` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, requests can use the alphanumeric or the numeric ID. Responses always contain the numeric ID.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfacePolicyOrBuilder- Returns:
- The bytes for name.
-
setName
Immutable. The resource name of the `Policy`, which must be unique. Format: `policies/{attachment_point}/denypolicies/{policy_id}` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, requests can use the alphanumeric or the numeric ID. Responses always contain the numeric ID.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Immutable. The resource name of the `Policy`, which must be unique. Format: `policies/{attachment_point}/denypolicies/{policy_id}` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, requests can use the alphanumeric or the numeric ID. Responses always contain the numeric ID.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setNameBytes
Immutable. The resource name of the `Policy`, which must be unique. Format: `policies/{attachment_point}/denypolicies/{policy_id}` The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, `/`, must be written as `%2F`. For example, `policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy`. For organizations and folders, use the numeric ID in the full resource name. For projects, requests can use the alphanumeric or the numeric ID. Responses always contain the numeric ID.string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
Immutable. The globally unique ID of the `Policy`. Assigned automatically when the `Policy` is created.
string uid = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getUidin interfacePolicyOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Immutable. The globally unique ID of the `Policy`. Assigned automatically when the `Policy` is created.
string uid = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getUidBytesin interfacePolicyOrBuilder- Returns:
- The bytes for uid.
-
setUid
Immutable. The globally unique ID of the `Policy`. Assigned automatically when the `Policy` is created.
string uid = 2 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Immutable. The globally unique ID of the `Policy`. Assigned automatically when the `Policy` is created.
string uid = 2 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setUidBytes
Immutable. The globally unique ID of the `Policy`. Assigned automatically when the `Policy` is created.
string uid = 2 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getKind
Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getKindin interfacePolicyOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getKindBytesin interfacePolicyOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setKindBytes
Output only. The kind of the `Policy`. Always contains the value `DenyPolicy`.
string kind = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
getDisplayName
A user-specified description of the `Policy`. This value can be up to 63 characters.
string display_name = 4;- Specified by:
getDisplayNamein interfacePolicyOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()A user-specified description of the `Policy`. This value can be up to 63 characters.
string display_name = 4;- Specified by:
getDisplayNameBytesin interfacePolicyOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
A user-specified description of the `Policy`. This value can be up to 63 characters.
string display_name = 4;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
A user-specified description of the `Policy`. This value can be up to 63 characters.
string display_name = 4;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
A user-specified description of the `Policy`. This value can be up to 63 characters.
string display_name = 4;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:PolicyOrBuilderA key-value map to store arbitrary metadata for the `Policy`. Keys can be up to 63 characters. Values can be up to 255 characters.
map<string, string> annotations = 5;- Specified by:
getAnnotationsCountin interfacePolicyOrBuilder
-
containsAnnotations
A key-value map to store arbitrary metadata for the `Policy`. Keys can be up to 63 characters. Values can be up to 255 characters.
map<string, string> annotations = 5;- Specified by:
containsAnnotationsin interfacePolicyOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfacePolicyOrBuilder
-
getAnnotationsMap
A key-value map to store arbitrary metadata for the `Policy`. Keys can be up to 63 characters. Values can be up to 255 characters.
map<string, string> annotations = 5;- Specified by:
getAnnotationsMapin interfacePolicyOrBuilder
-
getAnnotationsOrDefault
A key-value map to store arbitrary metadata for the `Policy`. Keys can be up to 63 characters. Values can be up to 255 characters.
map<string, string> annotations = 5;- Specified by:
getAnnotationsOrDefaultin interfacePolicyOrBuilder
-
getAnnotationsOrThrow
A key-value map to store arbitrary metadata for the `Policy`. Keys can be up to 63 characters. Values can be up to 255 characters.
map<string, string> annotations = 5;- Specified by:
getAnnotationsOrThrowin interfacePolicyOrBuilder
-
clearAnnotations
-
removeAnnotations
A key-value map to store arbitrary metadata for the `Policy`. Keys can be up to 63 characters. Values can be up to 255 characters.
map<string, string> annotations = 5; -
getMutableAnnotations
Deprecated.Use alternate mutation accessors instead. -
putAnnotations
A key-value map to store arbitrary metadata for the `Policy`. Keys can be up to 63 characters. Values can be up to 255 characters.
map<string, string> annotations = 5; -
putAllAnnotations
A key-value map to store arbitrary metadata for the `Policy`. Keys can be up to 63 characters. Values can be up to 255 characters.
map<string, string> annotations = 5; -
getEtag
An opaque tag that identifies the current version of the `Policy`. IAM uses this value to help manage concurrent updates, so they do not cause one update to be overwritten by another. If this field is present in a [CreatePolicy][] request, the value is ignored.
string etag = 6;- Specified by:
getEtagin interfacePolicyOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()An opaque tag that identifies the current version of the `Policy`. IAM uses this value to help manage concurrent updates, so they do not cause one update to be overwritten by another. If this field is present in a [CreatePolicy][] request, the value is ignored.
string etag = 6;- Specified by:
getEtagBytesin interfacePolicyOrBuilder- Returns:
- The bytes for etag.
-
setEtag
An opaque tag that identifies the current version of the `Policy`. IAM uses this value to help manage concurrent updates, so they do not cause one update to be overwritten by another. If this field is present in a [CreatePolicy][] request, the value is ignored.
string etag = 6;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
An opaque tag that identifies the current version of the `Policy`. IAM uses this value to help manage concurrent updates, so they do not cause one update to be overwritten by another. If this field is present in a [CreatePolicy][] request, the value is ignored.
string etag = 6;- Returns:
- This builder for chaining.
-
setEtagBytes
An opaque tag that identifies the current version of the `Policy`. IAM uses this value to help manage concurrent updates, so they do not cause one update to be overwritten by another. If this field is present in a [CreatePolicy][] request, the value is ignored.
string etag = 6;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time when the `Policy` was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfacePolicyOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time when the `Policy` was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfacePolicyOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The time when the `Policy` was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The time when the `Policy` was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The time when the `Policy` was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The time when the `Policy` was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The time when the `Policy` was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the `Policy` was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfacePolicyOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The time when the `Policy` was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfacePolicyOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The time when the `Policy` was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfacePolicyOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The time when the `Policy` was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The time when the `Policy` was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The time when the `Policy` was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The time when the `Policy` was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The time when the `Policy` was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the `Policy` was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfacePolicyOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeleteTimein interfacePolicyOrBuilder- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimein interfacePolicyOrBuilder- Returns:
- The deleteTime.
-
setDeleteTime
Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDeleteTime
Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDeleteTime
Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDeleteTime
Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()Output only. The time when the `Policy` was deleted. Empty if the policy is not deleted.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeleteTimeOrBuilderin interfacePolicyOrBuilder
-
getRulesList
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10;- Specified by:
getRulesListin interfacePolicyOrBuilder
-
getRulesCount
public int getRulesCount()A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10;- Specified by:
getRulesCountin interfacePolicyOrBuilder
-
getRules
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10;- Specified by:
getRulesin interfacePolicyOrBuilder
-
setRules
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10; -
setRules
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10; -
addRules
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10; -
addRules
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10; -
addRules
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10; -
addRules
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10; -
addAllRules
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10; -
clearRules
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10; -
removeRules
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10; -
getRulesBuilder
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10; -
getRulesOrBuilder
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10;- Specified by:
getRulesOrBuilderin interfacePolicyOrBuilder
-
getRulesOrBuilderList
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10;- Specified by:
getRulesOrBuilderListin interfacePolicyOrBuilder
-
addRulesBuilder
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10; -
addRulesBuilder
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10; -
getRulesBuilderList
A list of rules that specify the behavior of the `Policy`. All of the rules should be of the `kind` specified in the `Policy`.
repeated .google.iam.v2.PolicyRule rules = 10; -
getManagingAuthority
Immutable. Specifies that this policy is managed by an authority and can only be modified by that authority. Usage is restricted.
string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getManagingAuthorityin interfacePolicyOrBuilder- Returns:
- The managingAuthority.
-
getManagingAuthorityBytes
public com.google.protobuf.ByteString getManagingAuthorityBytes()Immutable. Specifies that this policy is managed by an authority and can only be modified by that authority. Usage is restricted.
string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getManagingAuthorityBytesin interfacePolicyOrBuilder- Returns:
- The bytes for managingAuthority.
-
setManagingAuthority
Immutable. Specifies that this policy is managed by an authority and can only be modified by that authority. Usage is restricted.
string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The managingAuthority to set.- Returns:
- This builder for chaining.
-
clearManagingAuthority
Immutable. Specifies that this policy is managed by an authority and can only be modified by that authority. Usage is restricted.
string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setManagingAuthorityBytes
Immutable. Specifies that this policy is managed by an authority and can only be modified by that authority. Usage is restricted.
string managing_authority = 11 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for managingAuthority to set.- Returns:
- This builder for chaining.
-