Class RelatedResources (3.11.0)

public final class RelatedResources extends GeneratedMessageV3 implements RelatedResourcesOrBuilder

The related resources of the primary resource.

Protobuf type google.cloud.asset.v1.RelatedResources

Static Fields

public static final int RELATED_RESOURCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RelatedResources getDefaultInstance()
Returns
Type Description
RelatedResources

getDescriptor()

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

newBuilder()

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

newBuilder(RelatedResources prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RelatedResources getDefaultInstanceForType()
Returns
Type Description
RelatedResources

getParserForType()

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

getRelatedResources(int index)

public RelatedResource getRelatedResources(int index)

The detailed related resources of the primary resource.

repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
RelatedResource

getRelatedResourcesCount()

public int getRelatedResourcesCount()

The detailed related resources of the primary resource.

repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;

Returns
Type Description
int

getRelatedResourcesList()

public List<RelatedResource> getRelatedResourcesList()

The detailed related resources of the primary resource.

repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;

Returns
Type Description
List<RelatedResource>

getRelatedResourcesOrBuilder(int index)

public RelatedResourceOrBuilder getRelatedResourcesOrBuilder(int index)

The detailed related resources of the primary resource.

repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;

Parameter
Name Description
index int
Returns
Type Description
RelatedResourceOrBuilder

getRelatedResourcesOrBuilderList()

public List<? extends RelatedResourceOrBuilder> getRelatedResourcesOrBuilderList()

The detailed related resources of the primary resource.

repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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 RelatedResources.Builder newBuilderForType()
Returns
Type Description
RelatedResources.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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