Class RelatedAssets (3.22.0)

public final class RelatedAssets extends GeneratedMessageV3 implements RelatedAssetsOrBuilder

The detailed related assets with the relationship_type.

Protobuf type google.cloud.asset.v1p7beta1.RelatedAssets

Static Fields

ASSETS_FIELD_NUMBER

public static final int ASSETS_FIELD_NUMBER
Field Value
Type Description
int

RELATIONSHIP_ATTRIBUTES_FIELD_NUMBER

public static final int RELATIONSHIP_ATTRIBUTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RelatedAssets getDefaultInstance()
Returns
Type Description
RelatedAssets

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RelatedAssets.Builder newBuilder()
Returns
Type Description
RelatedAssets.Builder

newBuilder(RelatedAssets prototype)

public static RelatedAssets.Builder newBuilder(RelatedAssets prototype)
Parameter
Name Description
prototype RelatedAssets
Returns
Type Description
RelatedAssets.Builder

parseDelimitedFrom(InputStream input)

public static RelatedAssets parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RelatedAssets
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RelatedAssets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelatedAssets
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RelatedAssets parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RelatedAssets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RelatedAssets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelatedAssets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RelatedAssets parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RelatedAssets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RelatedAssets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelatedAssets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RelatedAssets parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RelatedAssets
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RelatedAssets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelatedAssets
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RelatedAssets parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RelatedAssets
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RelatedAssets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelatedAssets
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RelatedAssets parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RelatedAssets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RelatedAssets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelatedAssets
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RelatedAssets> parser()
Returns
Type Description
Parser<RelatedAssets>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Name Description
index int
Returns
Type Description
RelatedAsset

getAssetsCount()

public int getAssetsCount()

The peer resources of the relationship.

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

Returns
Type Description
int

getAssetsList()

public List<RelatedAsset> getAssetsList()

The peer resources of the relationship.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
RelatedAssetOrBuilder

getAssetsOrBuilderList()

public List<? extends RelatedAssetOrBuilder> getAssetsOrBuilderList()

The peer resources of the relationship.

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

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

getDefaultInstanceForType()

public RelatedAssets getDefaultInstanceForType()
Returns
Type Description
RelatedAssets

getParserForType()

public Parser<RelatedAssets> getParserForType()
Returns
Type Description
Parser<RelatedAssets>
Overrides

getRelationshipAttributes()

public RelationshipAttributes getRelationshipAttributes()

The detailed relation attributes.

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

Returns
Type Description
RelationshipAttributes

The relationshipAttributes.

getRelationshipAttributesOrBuilder()

public RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder()

The detailed relation attributes.

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

Returns
Type Description
RelationshipAttributesOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasRelationshipAttributes()

public boolean hasRelationshipAttributes()

The detailed relation attributes.

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

Returns
Type Description
boolean

Whether the relationshipAttributes field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RelatedAssets.Builder newBuilderForType()
Returns
Type Description
RelatedAssets.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RelatedAssets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RelatedAssets.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RelatedAssets.Builder toBuilder()
Returns
Type Description
RelatedAssets.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException