Class RelatedResources (3.7.1)

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
TypeDescription
int

Static Methods

getDefaultInstance()

public static RelatedResources getDefaultInstance()
Returns
TypeDescription
RelatedResources

getDescriptor()

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

newBuilder()

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

newBuilder(RelatedResources prototype)

public static RelatedResources.Builder newBuilder(RelatedResources prototype)
Parameter
NameDescription
prototypeRelatedResources
Returns
TypeDescription
RelatedResources.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RelatedResources getDefaultInstanceForType()
Returns
TypeDescription
RelatedResources

getParserForType()

public Parser<RelatedResources> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
RelatedResource

getRelatedResourcesCount()

public int getRelatedResourcesCount()

The detailed related resources of the primary resource.

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

Returns
TypeDescription
int

getRelatedResourcesList()

public List<RelatedResource> getRelatedResourcesList()

The detailed related resources of the primary resource.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.asset.v1.RelatedResourceOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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