Class IamPolicyAnalysisQuery.ResourceSelector (3.4.0)

public static final class IamPolicyAnalysisQuery.ResourceSelector extends GeneratedMessageV3 implements IamPolicyAnalysisQuery.ResourceSelectorOrBuilder

Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects.

Protobuf type google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IamPolicyAnalysisQuery.ResourceSelector

Static Fields

FULL_RESOURCE_NAME_FIELD_NUMBER

public static final int FULL_RESOURCE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IamPolicyAnalysisQuery.ResourceSelector getDefaultInstance()
Returns
TypeDescription
IamPolicyAnalysisQuery.ResourceSelector

getDescriptor()

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

newBuilder()

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

newBuilder(IamPolicyAnalysisQuery.ResourceSelector prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public IamPolicyAnalysisQuery.ResourceSelector getDefaultInstanceForType()
Returns
TypeDescription
IamPolicyAnalysisQuery.ResourceSelector

getFullResourceName()

public String getFullResourceName()

Required. The full resource name of a resource of supported resource types.

string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The fullResourceName.

getFullResourceNameBytes()

public ByteString getFullResourceNameBytes()

Required. The full resource name of a resource of supported resource types.

string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for fullResourceName.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.ResourceSelector.Builder newBuilderForType()
Returns
TypeDescription
IamPolicyAnalysisQuery.ResourceSelector.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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