public static final class RelatedAssets.Builder extends GeneratedMessageV3.Builder<RelatedAssets.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public RelatedAssets.Builder addAllAssets(Iterable<? extends RelatedAsset> values)
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1.RelatedAsset>
|
public RelatedAssets.Builder addAssets(RelatedAsset value)
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
public RelatedAssets.Builder addAssets(RelatedAsset.Builder builderForValue)
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
public RelatedAssets.Builder addAssets(int index, RelatedAsset value)
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
public RelatedAssets.Builder addAssets(int index, RelatedAsset.Builder builderForValue)
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
public RelatedAsset.Builder addAssetsBuilder()
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
public RelatedAsset.Builder addAssetsBuilder(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
Parameter |
Name |
Description |
index |
int
|
public RelatedAssets.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RelatedAssets build()
public RelatedAssets buildPartial()
public RelatedAssets.Builder clear()
Overrides
public RelatedAssets.Builder clearAssets()
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
public RelatedAssets.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RelatedAssets.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RelatedAssets.Builder clearRelationshipAttributes()
The detailed relationship attributes.
.google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1;
public RelatedAssets.Builder clone()
Overrides
public RelatedAsset getAssets(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
Parameter |
Name |
Description |
index |
int
|
public RelatedAsset.Builder getAssetsBuilder(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
Parameter |
Name |
Description |
index |
int
|
public List<RelatedAsset.Builder> getAssetsBuilderList()
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
public int getAssetsCount()
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
Returns |
Type |
Description |
int |
|
public List<RelatedAsset> getAssetsList()
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
public RelatedAssetOrBuilder getAssetsOrBuilder(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
Parameter |
Name |
Description |
index |
int
|
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> |
|
public RelatedAssets getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RelationshipAttributes getRelationshipAttributes()
The detailed relationship attributes.
.google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1;
public RelationshipAttributes.Builder getRelationshipAttributesBuilder()
The detailed relationship attributes.
.google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1;
public RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder()
The detailed relationship attributes.
.google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1;
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RelatedAssets.Builder mergeFrom(RelatedAssets other)
public RelatedAssets.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RelatedAssets.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public RelatedAssets.Builder mergeRelationshipAttributes(RelationshipAttributes value)
The detailed relationship attributes.
.google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1;
public final RelatedAssets.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RelatedAssets.Builder removeAssets(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
Parameter |
Name |
Description |
index |
int
|
public RelatedAssets.Builder setAssets(int index, RelatedAsset value)
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
public RelatedAssets.Builder setAssets(int index, RelatedAsset.Builder builderForValue)
The peer resources of the relationship.
repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
public RelatedAssets.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RelatedAssets.Builder setRelationshipAttributes(RelationshipAttributes value)
The detailed relationship attributes.
.google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1;
public RelatedAssets.Builder setRelationshipAttributes(RelationshipAttributes.Builder builderForValue)
The detailed relationship attributes.
.google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1;
public RelatedAssets.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RelatedAssets.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides