Package com.google.cloud.asset.v1
Class BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
- com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
-
- All Implemented Interfaces:
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
public static final class BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder> implements BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder
The IAM policy and its attached resource.
Protobuf typegoogle.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
build()
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
buildPartial()
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
clear()
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
clearAttachedResource()
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
clearPolicy()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
clone()
String
getAttachedResource()
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.com.google.protobuf.ByteString
getAttachedResourceBytes()
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.iam.v1.Policy
getPolicy()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].com.google.iam.v1.Policy.Builder
getPolicyBuilder()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].com.google.iam.v1.PolicyOrBuilder
getPolicyOrBuilder()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].boolean
hasPolicy()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
mergeFrom(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo other)
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
mergeFrom(com.google.protobuf.Message other)
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
mergePolicy(com.google.iam.v1.Policy value)
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
setAttachedResource(String value)
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
setAttachedResourceBytes(com.google.protobuf.ByteString value)
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
setPolicy(com.google.iam.v1.Policy value)
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
setPolicy(com.google.iam.v1.Policy.Builder builderForValue)
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
clear
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
getDefaultInstanceForType
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
setField
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
clearField
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
clearOneof
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
setRepeatedField
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
addRepeatedField
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
mergeFrom
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
mergeFrom
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder mergeFrom(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
mergeFrom
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
- Throws:
IOException
-
getAttachedResource
public String getAttachedResource()
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.
string attached_resource = 1;
- Specified by:
getAttachedResource
in interfaceBatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder
- Returns:
- The attachedResource.
-
getAttachedResourceBytes
public com.google.protobuf.ByteString getAttachedResourceBytes()
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.
string attached_resource = 1;
- Specified by:
getAttachedResourceBytes
in interfaceBatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder
- Returns:
- The bytes for attachedResource.
-
setAttachedResource
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder setAttachedResource(String value)
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.
string attached_resource = 1;
- Parameters:
value
- The attachedResource to set.- Returns:
- This builder for chaining.
-
clearAttachedResource
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder clearAttachedResource()
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.
string attached_resource = 1;
- Returns:
- This builder for chaining.
-
setAttachedResourceBytes
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder setAttachedResourceBytes(com.google.protobuf.ByteString value)
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.
string attached_resource = 1;
- Parameters:
value
- The bytes for attachedResource to set.- Returns:
- This builder for chaining.
-
hasPolicy
public boolean hasPolicy()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
.google.iam.v1.Policy policy = 2;
- Specified by:
hasPolicy
in interfaceBatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder
- Returns:
- Whether the policy field is set.
-
getPolicy
public com.google.iam.v1.Policy getPolicy()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
.google.iam.v1.Policy policy = 2;
- Specified by:
getPolicy
in interfaceBatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder
- Returns:
- The policy.
-
setPolicy
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder setPolicy(com.google.iam.v1.Policy value)
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
.google.iam.v1.Policy policy = 2;
-
setPolicy
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder setPolicy(com.google.iam.v1.Policy.Builder builderForValue)
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
.google.iam.v1.Policy policy = 2;
-
mergePolicy
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder mergePolicy(com.google.iam.v1.Policy value)
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
.google.iam.v1.Policy policy = 2;
-
clearPolicy
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder clearPolicy()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
.google.iam.v1.Policy policy = 2;
-
getPolicyBuilder
public com.google.iam.v1.Policy.Builder getPolicyBuilder()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
.google.iam.v1.Policy policy = 2;
-
getPolicyOrBuilder
public com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
.google.iam.v1.Policy policy = 2;
- Specified by:
getPolicyOrBuilder
in interfaceBatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder
-
setUnknownFields
public final BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
mergeUnknownFields
public final BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder>
-
-