Class RelatedAssets (3.35.0)

public final class RelatedAssets extends GeneratedMessageV3 implements RelatedAssetsOrBuilder

DEPRECATED. This message only presents for the purpose of backward-compatibility. The server will never populate this message in responses. The detailed related assets with the relationship_type.

Protobuf type google.cloud.asset.v1.RelatedAssets

Static Fields

ASSETS_FIELD_NUMBER (deprecated)

public static final int ASSETS_FIELD_NUMBER
Field Value
Type Description
int

RELATIONSHIP_ATTRIBUTES_FIELD_NUMBER (deprecated)

public static final int RELATIONSHIP_ATTRIBUTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance() (deprecated)

public static RelatedAssets getDefaultInstance()
Returns
Type Description
RelatedAssets

getDescriptor() (deprecated)

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

newBuilder() (deprecated)

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

newBuilder(RelatedAssets prototype) (deprecated)

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

parseDelimitedFrom(InputStream input) (deprecated)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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) (deprecated)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) (deprecated)

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) (deprecated)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) (deprecated)

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) (deprecated)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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) (deprecated)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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) (deprecated)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parser() (deprecated)

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

Methods

equals(Object obj) (deprecated)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAssets(int index) (deprecated)

public RelatedAsset getAssets(int index)

The peer resources of the relationship.

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

Parameter
Name Description
index int
Returns
Type Description
RelatedAsset

getAssetsCount() (deprecated)

public int getAssetsCount()

The peer resources of the relationship.

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

Returns
Type Description
int

getAssetsList() (deprecated)

public List<RelatedAsset> getAssetsList()

The peer resources of the relationship.

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

Returns
Type Description
List<RelatedAsset>

getAssetsOrBuilder(int index) (deprecated)

public RelatedAssetOrBuilder getAssetsOrBuilder(int index)

The peer resources of the relationship.

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

Parameter
Name Description
index int
Returns
Type Description
RelatedAssetOrBuilder

getAssetsOrBuilderList() (deprecated)

public List<? extends RelatedAssetOrBuilder> getAssetsOrBuilderList()

The peer resources of the relationship.

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

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

getDefaultInstanceForType() (deprecated)

public RelatedAssets getDefaultInstanceForType()
Returns
Type Description
RelatedAssets

getParserForType() (deprecated)

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

getRelationshipAttributes() (deprecated)

public RelationshipAttributes getRelationshipAttributes()

The detailed relationship attributes.

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

Returns
Type Description
RelationshipAttributes

The relationshipAttributes.

getRelationshipAttributesOrBuilder() (deprecated)

public RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder()

The detailed relationship attributes.

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

Returns
Type Description
RelationshipAttributesOrBuilder

getSerializedSize() (deprecated)

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasRelationshipAttributes() (deprecated)

public boolean hasRelationshipAttributes()

The detailed relationship attributes.

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

Returns
Type Description
boolean

Whether the relationshipAttributes field is set.

hashCode() (deprecated)

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable() (deprecated)

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

isInitialized() (deprecated)

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType() (deprecated)

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent) (deprecated)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) (deprecated)

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

toBuilder() (deprecated)

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

writeTo(CodedOutputStream output) (deprecated)

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