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 class
RelatedAssets.Builder
The 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 int
ASSETS_FIELD_NUMBER
static int
RELATIONSHIP_ATTRIBUTES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
RelatedAsset
getAssets(int index)
The peer resources of the relationship.int
getAssetsCount()
The peer resources of the relationship.List<RelatedAsset>
getAssetsList()
The peer resources of the relationship.RelatedAssetOrBuilder
getAssetsOrBuilder(int index)
The peer resources of the relationship.List<? extends RelatedAssetOrBuilder>
getAssetsOrBuilderList()
The peer resources of the relationship.static RelatedAssets
getDefaultInstance()
RelatedAssets
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<RelatedAssets>
getParserForType()
RelationshipAttributes
getRelationshipAttributes()
The detailed relation attributes.RelationshipAttributesOrBuilder
getRelationshipAttributesOrBuilder()
The detailed relation attributes.int
getSerializedSize()
int
hashCode()
boolean
hasRelationshipAttributes()
The detailed relation attributes.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static RelatedAssets.Builder
newBuilder()
static RelatedAssets.Builder
newBuilder(RelatedAssets prototype)
RelatedAssets.Builder
newBuilderForType()
protected RelatedAssets.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static RelatedAssets
parseDelimitedFrom(InputStream input)
static RelatedAssets
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RelatedAssets
parseFrom(byte[] data)
static RelatedAssets
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RelatedAssets
parseFrom(com.google.protobuf.ByteString data)
static RelatedAssets
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RelatedAssets
parseFrom(com.google.protobuf.CodedInputStream input)
static RelatedAssets
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RelatedAssets
parseFrom(InputStream input)
static RelatedAssets
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RelatedAssets
parseFrom(ByteBuffer data)
static RelatedAssets
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<RelatedAssets>
parser()
RelatedAssets.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasRelationshipAttributes
public boolean hasRelationshipAttributes()
The detailed relation attributes.
.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;
- Specified by:
hasRelationshipAttributes
in 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:
getRelationshipAttributes
in interfaceRelatedAssetsOrBuilder
- Returns:
- The relationshipAttributes.
-
getRelationshipAttributesOrBuilder
public RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder()
The detailed relation attributes.
.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;
- Specified by:
getRelationshipAttributesOrBuilder
in interfaceRelatedAssetsOrBuilder
-
getAssetsList
public List<RelatedAsset> getAssetsList()
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
- Specified by:
getAssetsList
in interfaceRelatedAssetsOrBuilder
-
getAssetsOrBuilderList
public List<? extends RelatedAssetOrBuilder> getAssetsOrBuilderList()
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
- Specified by:
getAssetsOrBuilderList
in interfaceRelatedAssetsOrBuilder
-
getAssetsCount
public int getAssetsCount()
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
- Specified by:
getAssetsCount
in interfaceRelatedAssetsOrBuilder
-
getAssets
public RelatedAsset getAssets(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
- Specified by:
getAssets
in interfaceRelatedAssetsOrBuilder
-
getAssetsOrBuilder
public RelatedAssetOrBuilder getAssetsOrBuilder(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
- Specified by:
getAssetsOrBuilder
in interfaceRelatedAssetsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RelatedAssets.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RelatedAssets getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-