public static final class RelatedAssets.Builder extends GeneratedMessageV3.Builder<RelatedAssets.Builder> implements RelatedAssetsOrBuilder
The detailed related assets with the relationship_type
.
Protobuf type google.cloud.asset.v1p7beta1.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()
Returns
Methods
public RelatedAssets.Builder addAllAssets(Iterable<? extends RelatedAsset> values)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.asset.v1p7beta1.RelatedAsset>
|
Returns
public RelatedAssets.Builder addAssets(RelatedAsset value)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Parameter
Returns
public RelatedAssets.Builder addAssets(RelatedAsset.Builder builderForValue)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Parameter
Returns
public RelatedAssets.Builder addAssets(int index, RelatedAsset value)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Parameters
Returns
public RelatedAssets.Builder addAssets(int index, RelatedAsset.Builder builderForValue)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Parameters
Returns
public RelatedAsset.Builder addAssetsBuilder()
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Returns
public RelatedAsset.Builder addAssetsBuilder(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Parameter
Returns
public RelatedAssets.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RelatedAssets build()
Returns
public RelatedAssets buildPartial()
Returns
public RelatedAssets.Builder clear()
Returns
Overrides
public RelatedAssets.Builder clearAssets()
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Returns
public RelatedAssets.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public RelatedAssets.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public RelatedAssets.Builder clearRelationshipAttributes()
The detailed relation attributes.
.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;
Returns
public RelatedAssets.Builder clone()
Returns
Overrides
public RelatedAsset getAssets(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Parameter
Returns
public RelatedAsset.Builder getAssetsBuilder(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Parameter
Returns
public List<RelatedAsset.Builder> getAssetsBuilderList()
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Returns
public int getAssetsCount()
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Returns
public List<RelatedAsset> getAssetsList()
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Returns
public RelatedAssetOrBuilder getAssetsOrBuilder(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Parameter
Returns
public List<? extends RelatedAssetOrBuilder> getAssetsOrBuilderList()
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Returns
Type | Description |
List<? extends com.google.cloud.asset.v1p7beta1.RelatedAssetOrBuilder> | |
public RelatedAssets getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public RelationshipAttributes getRelationshipAttributes()
The detailed relation attributes.
.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;
Returns
public RelationshipAttributes.Builder getRelationshipAttributesBuilder()
The detailed relation attributes.
.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;
Returns
public RelationshipAttributesOrBuilder getRelationshipAttributesOrBuilder()
The detailed relation attributes.
.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;
Returns
public boolean hasRelationshipAttributes()
The detailed relation attributes.
.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;
Returns
Type | Description |
boolean | Whether the relationshipAttributes field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public RelatedAssets.Builder mergeFrom(RelatedAssets other)
Parameter
Returns
public RelatedAssets.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public RelatedAssets.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public RelatedAssets.Builder mergeRelationshipAttributes(RelationshipAttributes value)
The detailed relation attributes.
.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;
Parameter
Returns
public final RelatedAssets.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public RelatedAssets.Builder removeAssets(int index)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Parameter
Returns
public RelatedAssets.Builder setAssets(int index, RelatedAsset value)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Parameters
Returns
public RelatedAssets.Builder setAssets(int index, RelatedAsset.Builder builderForValue)
The peer resources of the relationship.
repeated .google.cloud.asset.v1p7beta1.RelatedAsset assets = 2;
Parameters
Returns
public RelatedAssets.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public RelatedAssets.Builder setRelationshipAttributes(RelationshipAttributes value)
The detailed relation attributes.
.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;
Parameter
Returns
public RelatedAssets.Builder setRelationshipAttributes(RelationshipAttributes.Builder builderForValue)
The detailed relation attributes.
.google.cloud.asset.v1p7beta1.RelationshipAttributes relationship_attributes = 1;
Parameter
Returns
public RelatedAssets.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final RelatedAssets.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides