Package com.google.cloud.asset.v1p7beta1
Class RelatedAssets
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.asset.v1p7beta1.RelatedAssets
-
- All Implemented Interfaces:
RelatedAssetsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class RelatedAssets extends com.google.protobuf.GeneratedMessageV3 implements RelatedAssetsOrBuilder
The detailed related assets with the `relationship_type`.
Protobuf typegoogle.cloud.asset.v1p7beta1.RelatedAssets- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRelatedAssets.BuilderThe detailed related assets with the `relationship_type`.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intASSETS_FIELD_NUMBERstatic intRELATIONSHIP_ATTRIBUTES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)RelatedAssetgetAssets(int index)The peer resources of the relationship.intgetAssetsCount()The peer resources of the relationship.List<RelatedAsset>getAssetsList()The peer resources of the relationship.RelatedAssetOrBuildergetAssetsOrBuilder(int index)The peer resources of the relationship.List<? extends RelatedAssetOrBuilder>getAssetsOrBuilderList()The peer resources of the relationship.static RelatedAssetsgetDefaultInstance()RelatedAssetsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<RelatedAssets>getParserForType()RelationshipAttributesgetRelationshipAttributes()The detailed relation attributes.RelationshipAttributesOrBuildergetRelationshipAttributesOrBuilder()The detailed relation attributes.intgetSerializedSize()inthashCode()booleanhasRelationshipAttributes()The detailed relation attributes.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RelatedAssets.BuildernewBuilder()static RelatedAssets.BuildernewBuilder(RelatedAssets prototype)RelatedAssets.BuildernewBuilderForType()protected RelatedAssets.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RelatedAssetsparseDelimitedFrom(InputStream input)static RelatedAssetsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RelatedAssetsparseFrom(byte[] data)static RelatedAssetsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RelatedAssetsparseFrom(com.google.protobuf.ByteString data)static RelatedAssetsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RelatedAssetsparseFrom(com.google.protobuf.CodedInputStream input)static RelatedAssetsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RelatedAssetsparseFrom(InputStream input)static RelatedAssetsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RelatedAssetsparseFrom(ByteBuffer data)static RelatedAssetsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RelatedAssets>parser()RelatedAssets.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RELATIONSHIP_ATTRIBUTES_FIELD_NUMBER
public static final int RELATIONSHIP_ATTRIBUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSETS_FIELD_NUMBER
public static final int ASSETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasRelationshipAttributes
public boolean hasRelationshipAttributes()
The detailed relation attributes.
.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;- Specified by:
hasRelationshipAttributesin interfaceRelatedAssetsOrBuilder- Returns:
- Whether the relationshipAttributes field is set.
-
getRelationshipAttributes
public RelationshipAttributes getRelationshipAttributes()
The detailed relation attributes.
.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;- Specified by:
getRelationshipAttributesin interfaceRelatedAssetsOrBuilder- Returns:
- The relationshipAttributes.
-
getRelationshipAttributesOrBuilder
public RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder()
The detailed relation attributes.
.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;- Specified by:
getRelationshipAttributesOrBuilderin interfaceRelatedAssetsOrBuilder
-
getAssetsList
public List<RelatedAsset> getAssetsList()
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;- Specified by:
getAssetsListin interfaceRelatedAssetsOrBuilder
-
getAssetsOrBuilderList
public List<? extends RelatedAssetOrBuilder> getAssetsOrBuilderList()
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;- Specified by:
getAssetsOrBuilderListin interfaceRelatedAssetsOrBuilder
-
getAssetsCount
public int getAssetsCount()
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;- Specified by:
getAssetsCountin interfaceRelatedAssetsOrBuilder
-
getAssets
public RelatedAsset getAssets(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;- Specified by:
getAssetsin interfaceRelatedAssetsOrBuilder
-
getAssetsOrBuilder
public RelatedAssetOrBuilder getAssetsOrBuilder(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;- Specified by:
getAssetsOrBuilderin interfaceRelatedAssetsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RelatedAssets parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelatedAssets parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelatedAssets parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelatedAssets parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelatedAssets parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelatedAssets parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelatedAssets parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RelatedAssets parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RelatedAssets parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RelatedAssets parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RelatedAssets parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RelatedAssets parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RelatedAssets.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RelatedAssets.Builder newBuilder()
-
newBuilder
public static RelatedAssets.Builder newBuilder(RelatedAssets prototype)
-
toBuilder
public RelatedAssets.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RelatedAssets.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RelatedAssets getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RelatedAssets> parser()
-
getParserForType
public com.google.protobuf.Parser<RelatedAssets> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RelatedAssets getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-