Class RelatedAssets

public final class RelatedAssets extends GeneratedMessageV3 implements RelatedAssetsOrBuilder

The detailed related assets with the relationship_type.

Protobuf type google.cloud.asset.v1p7beta1.RelatedAssets

Fields

ASSETS_FIELD_NUMBER

public static final int ASSETS_FIELD_NUMBER
Field Value
TypeDescription
int

RELATIONSHIP_ATTRIBUTES_FIELD_NUMBER

public static final int RELATIONSHIP_ATTRIBUTES_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getAssets(int index)

public RelatedAsset getAssets(int index)

The peer resources of the relationship.

repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedAsset

getAssetsCount()

public int getAssetsCount()

The peer resources of the relationship.

repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;

Returns
TypeDescription
int

getAssetsList()

public List<RelatedAsset> getAssetsList()

The peer resources of the relationship.

repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;

Returns
TypeDescription
List<RelatedAsset>

getAssetsOrBuilder(int index)

public RelatedAssetOrBuilder getAssetsOrBuilder(int index)

The peer resources of the relationship.

repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedAssetOrBuilder

getAssetsOrBuilderList()

public List<? extends RelatedAssetOrBuilder> getAssetsOrBuilderList()

The peer resources of the relationship.

repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder>

getDefaultInstance()

public static RelatedAssets getDefaultInstance()
Returns
TypeDescription
RelatedAssets

getDefaultInstanceForType()

public RelatedAssets getDefaultInstanceForType()
Returns
TypeDescription
RelatedAssets

getDescriptor()

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

getParserForType()

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

getRelationshipAttributes()

public RelationshipAttributes getRelationshipAttributes()

The detailed relation attributes.

.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;

Returns
TypeDescription
RelationshipAttributes

The relationshipAttributes.

getRelationshipAttributesOrBuilder()

public RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder()

The detailed relation attributes.

.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;

Returns
TypeDescription
RelationshipAttributesOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasRelationshipAttributes()

public boolean hasRelationshipAttributes()

The detailed relation attributes.

.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;

Returns
TypeDescription
boolean

Whether the relationshipAttributes 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

newBuilder()

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

newBuilder(RelatedAssets prototype)

public static RelatedAssets.Builder newBuilder(RelatedAssets prototype)
Parameter
NameDescription
prototypeRelatedAssets
Returns
TypeDescription
RelatedAssets.Builder

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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