public static final class IamPolicyAnalysisQuery.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder> implements IamPolicyAnalysisQueryOrBuilder
IAM policy analysis query message.Protobuf type
google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuerygetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder>public IamPolicyAnalysisQuery.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder>public IamPolicyAnalysisQuery getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic IamPolicyAnalysisQuery build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic IamPolicyAnalysisQuery buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic IamPolicyAnalysisQuery.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder>public IamPolicyAnalysisQuery.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder>public IamPolicyAnalysisQuery.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder>public IamPolicyAnalysisQuery.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder>public IamPolicyAnalysisQuery.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder>public IamPolicyAnalysisQuery.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder>public IamPolicyAnalysisQuery.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IamPolicyAnalysisQuery.Builder>public IamPolicyAnalysisQuery.Builder mergeFrom(IamPolicyAnalysisQuery other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder>public IamPolicyAnalysisQuery.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IamPolicyAnalysisQuery.Builder>IOExceptionpublic String getParent()
Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as "organizations/123") or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED];getParent in interface IamPolicyAnalysisQueryOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as "organizations/123") or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED];getParentBytes in interface IamPolicyAnalysisQueryOrBuilderpublic IamPolicyAnalysisQuery.Builder setParent(String value)
Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as "organizations/123") or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED];value - The parent to set.public IamPolicyAnalysisQuery.Builder clearParent()
Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as "organizations/123") or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED];public IamPolicyAnalysisQuery.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The relative name of the root asset. Only resources and IAM policies within the parent will be analyzed. This can only be an organization number (such as "organizations/123") or a folder number (such as "folders/123").
string parent = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for parent to set.public boolean hasResourceSelector()
Optional. Specifies a resource for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
hasResourceSelector in interface IamPolicyAnalysisQueryOrBuilderpublic IamPolicyAnalysisQuery.ResourceSelector getResourceSelector()
Optional. Specifies a resource for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
getResourceSelector in interface IamPolicyAnalysisQueryOrBuilderpublic IamPolicyAnalysisQuery.Builder setResourceSelector(IamPolicyAnalysisQuery.ResourceSelector value)
Optional. Specifies a resource for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.Builder setResourceSelector(IamPolicyAnalysisQuery.ResourceSelector.Builder builderForValue)
Optional. Specifies a resource for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.Builder mergeResourceSelector(IamPolicyAnalysisQuery.ResourceSelector value)
Optional. Specifies a resource for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.Builder clearResourceSelector()
Optional. Specifies a resource for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.ResourceSelector.Builder getResourceSelectorBuilder()
Optional. Specifies a resource for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.ResourceSelectorOrBuilder getResourceSelectorOrBuilder()
Optional. Specifies a resource for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
getResourceSelectorOrBuilder in interface IamPolicyAnalysisQueryOrBuilderpublic boolean hasIdentitySelector()
Optional. Specifies an identity for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
hasIdentitySelector in interface IamPolicyAnalysisQueryOrBuilderpublic IamPolicyAnalysisQuery.IdentitySelector getIdentitySelector()
Optional. Specifies an identity for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
getIdentitySelector in interface IamPolicyAnalysisQueryOrBuilderpublic IamPolicyAnalysisQuery.Builder setIdentitySelector(IamPolicyAnalysisQuery.IdentitySelector value)
Optional. Specifies an identity for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.Builder setIdentitySelector(IamPolicyAnalysisQuery.IdentitySelector.Builder builderForValue)
Optional. Specifies an identity for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.Builder mergeIdentitySelector(IamPolicyAnalysisQuery.IdentitySelector value)
Optional. Specifies an identity for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.Builder clearIdentitySelector()
Optional. Specifies an identity for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.IdentitySelector.Builder getIdentitySelectorBuilder()
Optional. Specifies an identity for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.IdentitySelectorOrBuilder getIdentitySelectorOrBuilder()
Optional. Specifies an identity for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
getIdentitySelectorOrBuilder in interface IamPolicyAnalysisQueryOrBuilderpublic boolean hasAccessSelector()
Optional. Specifies roles or permissions for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
hasAccessSelector in interface IamPolicyAnalysisQueryOrBuilderpublic IamPolicyAnalysisQuery.AccessSelector getAccessSelector()
Optional. Specifies roles or permissions for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
getAccessSelector in interface IamPolicyAnalysisQueryOrBuilderpublic IamPolicyAnalysisQuery.Builder setAccessSelector(IamPolicyAnalysisQuery.AccessSelector value)
Optional. Specifies roles or permissions for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.Builder setAccessSelector(IamPolicyAnalysisQuery.AccessSelector.Builder builderForValue)
Optional. Specifies roles or permissions for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.Builder mergeAccessSelector(IamPolicyAnalysisQuery.AccessSelector value)
Optional. Specifies roles or permissions for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.Builder clearAccessSelector()
Optional. Specifies roles or permissions for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.AccessSelector.Builder getAccessSelectorBuilder()
Optional. Specifies roles or permissions for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
public IamPolicyAnalysisQuery.AccessSelectorOrBuilder getAccessSelectorOrBuilder()
Optional. Specifies roles or permissions for analysis. Leaving it empty means ANY.
.google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
getAccessSelectorOrBuilder in interface IamPolicyAnalysisQueryOrBuilderpublic final IamPolicyAnalysisQuery.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder>public final IamPolicyAnalysisQuery.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IamPolicyAnalysisQuery.Builder>Copyright © 2022 Google LLC. All rights reserved.