Class IamPolicyAnalysisResult.Resource (3.4.0)

public static final class IamPolicyAnalysisResult.Resource extends GeneratedMessageV3 implements IamPolicyAnalysisResult.ResourceOrBuilder

A GCP resource that appears in an access control list.

Protobuf type google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.Resource

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IamPolicyAnalysisResult.Resource

Static Fields

ANALYSIS_STATE_FIELD_NUMBER

public static final int ANALYSIS_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

FULL_RESOURCE_NAME_FIELD_NUMBER

public static final int FULL_RESOURCE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IamPolicyAnalysisResult.Resource getDefaultInstance()
Returns
TypeDescription
IamPolicyAnalysisResult.Resource

getDescriptor()

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

newBuilder()

public static IamPolicyAnalysisResult.Resource.Builder newBuilder()
Returns
TypeDescription
IamPolicyAnalysisResult.Resource.Builder

newBuilder(IamPolicyAnalysisResult.Resource prototype)

public static IamPolicyAnalysisResult.Resource.Builder newBuilder(IamPolicyAnalysisResult.Resource prototype)
Parameter
NameDescription
prototypeIamPolicyAnalysisResult.Resource
Returns
TypeDescription
IamPolicyAnalysisResult.Resource.Builder

parseDelimitedFrom(InputStream input)

public static IamPolicyAnalysisResult.Resource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IamPolicyAnalysisResult.Resource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static IamPolicyAnalysisResult.Resource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IamPolicyAnalysisResult.Resource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static IamPolicyAnalysisResult.Resource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IamPolicyAnalysisResult.Resource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static IamPolicyAnalysisResult.Resource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IamPolicyAnalysisResult.Resource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static IamPolicyAnalysisResult.Resource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IamPolicyAnalysisResult.Resource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<IamPolicyAnalysisResult.Resource> parser()
Returns
TypeDescription
Parser<Resource>

Methods

equals(Object obj)

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

getAnalysisState()

public IamPolicyAnalysisResult.AnalysisState getAnalysisState()

The analysis state of this resource node.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;

Returns
TypeDescription
IamPolicyAnalysisResult.AnalysisState

The analysisState.

getAnalysisStateOrBuilder()

public IamPolicyAnalysisResult.AnalysisStateOrBuilder getAnalysisStateOrBuilder()

The analysis state of this resource node.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;

Returns
TypeDescription
IamPolicyAnalysisResult.AnalysisStateOrBuilder

getDefaultInstanceForType()

public IamPolicyAnalysisResult.Resource getDefaultInstanceForType()
Returns
TypeDescription
IamPolicyAnalysisResult.Resource

getFullResourceName()

public String getFullResourceName()

The full resource name.

string full_resource_name = 1;

Returns
TypeDescription
String

The fullResourceName.

getFullResourceNameBytes()

public ByteString getFullResourceNameBytes()

The full resource name.

string full_resource_name = 1;

Returns
TypeDescription
ByteString

The bytes for fullResourceName.

getParserForType()

public Parser<IamPolicyAnalysisResult.Resource> getParserForType()
Returns
TypeDescription
Parser<Resource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAnalysisState()

public boolean hasAnalysisState()

The analysis state of this resource node.

.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState analysis_state = 2;

Returns
TypeDescription
boolean

Whether the analysisState 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 IamPolicyAnalysisResult.Resource.Builder newBuilderForType()
Returns
TypeDescription
IamPolicyAnalysisResult.Resource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public IamPolicyAnalysisResult.Resource.Builder toBuilder()
Returns
TypeDescription
IamPolicyAnalysisResult.Resource.Builder

writeTo(CodedOutputStream output)

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