Class IamPolicyAnalysisQuery (3.4.1)

public final class IamPolicyAnalysisQuery extends GeneratedMessageV3 implements IamPolicyAnalysisQueryOrBuilder

IAM policy analysis query message.

Protobuf type google.cloud.asset.v1p4beta1.IamPolicyAnalysisQuery

Static Fields

ACCESS_SELECTOR_FIELD_NUMBER

public static final int ACCESS_SELECTOR_FIELD_NUMBER
Field Value
TypeDescription
int

IDENTITY_SELECTOR_FIELD_NUMBER

public static final int IDENTITY_SELECTOR_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_SELECTOR_FIELD_NUMBER

public static final int RESOURCE_SELECTOR_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IamPolicyAnalysisQuery getDefaultInstance()
Returns
TypeDescription
IamPolicyAnalysisQuery

getDescriptor()

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

newBuilder()

public static IamPolicyAnalysisQuery.Builder newBuilder()
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

newBuilder(IamPolicyAnalysisQuery prototype)

public static IamPolicyAnalysisQuery.Builder newBuilder(IamPolicyAnalysisQuery prototype)
Parameter
NameDescription
prototypeIamPolicyAnalysisQuery
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

parseDelimitedFrom(InputStream input)

public static IamPolicyAnalysisQuery parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IamPolicyAnalysisQuery
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisQuery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisQuery
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static IamPolicyAnalysisQuery parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
IamPolicyAnalysisQuery
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisQuery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisQuery
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IamPolicyAnalysisQuery parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IamPolicyAnalysisQuery
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisQuery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisQuery
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IamPolicyAnalysisQuery parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IamPolicyAnalysisQuery
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisQuery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisQuery
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static IamPolicyAnalysisQuery parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IamPolicyAnalysisQuery
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisQuery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisQuery
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static IamPolicyAnalysisQuery parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IamPolicyAnalysisQuery
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IamPolicyAnalysisQuery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IamPolicyAnalysisQuery
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<IamPolicyAnalysisQuery> parser()
Returns
TypeDescription
Parser<IamPolicyAnalysisQuery>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAccessSelector()

public 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];

Returns
TypeDescription
IamPolicyAnalysisQuery.AccessSelector

The accessSelector.

getAccessSelectorOrBuilder()

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];

Returns
TypeDescription
IamPolicyAnalysisQuery.AccessSelectorOrBuilder

getDefaultInstanceForType()

public IamPolicyAnalysisQuery getDefaultInstanceForType()
Returns
TypeDescription
IamPolicyAnalysisQuery

getIdentitySelector()

public 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];

Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelector

The identitySelector.

getIdentitySelectorOrBuilder()

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];

Returns
TypeDescription
IamPolicyAnalysisQuery.IdentitySelectorOrBuilder

getParent()

public 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];

Returns
TypeDescription
String

The parent.

getParentBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<IamPolicyAnalysisQuery> getParserForType()
Returns
TypeDescription
Parser<IamPolicyAnalysisQuery>
Overrides

getResourceSelector()

public 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];

Returns
TypeDescription
IamPolicyAnalysisQuery.ResourceSelector

The resourceSelector.

getResourceSelectorOrBuilder()

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];

Returns
TypeDescription
IamPolicyAnalysisQuery.ResourceSelectorOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAccessSelector()

public 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];

Returns
TypeDescription
boolean

Whether the accessSelector field is set.

hasIdentitySelector()

public 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];

Returns
TypeDescription
boolean

Whether the identitySelector field is set.

hasResourceSelector()

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];

Returns
TypeDescription
boolean

Whether the resourceSelector field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public IamPolicyAnalysisQuery.Builder newBuilderForType()
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IamPolicyAnalysisQuery.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public IamPolicyAnalysisQuery.Builder toBuilder()
Returns
TypeDescription
IamPolicyAnalysisQuery.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException