public static final class RelatedResources.Builder extends GeneratedMessageV3.Builder<RelatedResources.Builder> implements RelatedResourcesOrBuilder
The related resources of the primary resource.
Protobuf type google.cloud.asset.v1.RelatedResources
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 RelatedResources.Builder addAllRelatedResources(Iterable<? extends RelatedResource> values)
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1.RelatedResource>
|
public RelatedResources.Builder addRelatedResources(RelatedResource value)
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
public RelatedResources.Builder addRelatedResources(RelatedResource.Builder builderForValue)
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
public RelatedResources.Builder addRelatedResources(int index, RelatedResource value)
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
public RelatedResources.Builder addRelatedResources(int index, RelatedResource.Builder builderForValue)
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
public RelatedResource.Builder addRelatedResourcesBuilder()
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
public RelatedResource.Builder addRelatedResourcesBuilder(int index)
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Parameter |
Name |
Description |
index |
int
|
public RelatedResources.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RelatedResources build()
public RelatedResources buildPartial()
public RelatedResources.Builder clear()
Overrides
public RelatedResources.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RelatedResources.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RelatedResources.Builder clearRelatedResources()
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
public RelatedResources.Builder clone()
Overrides
public RelatedResources getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RelatedResource getRelatedResources(int index)
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Parameter |
Name |
Description |
index |
int
|
public RelatedResource.Builder getRelatedResourcesBuilder(int index)
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Parameter |
Name |
Description |
index |
int
|
public List<RelatedResource.Builder> getRelatedResourcesBuilderList()
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
public int getRelatedResourcesCount()
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Returns |
Type |
Description |
int |
|
public List<RelatedResource> getRelatedResourcesList()
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
public RelatedResourceOrBuilder getRelatedResourcesOrBuilder(int index)
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends RelatedResourceOrBuilder> getRelatedResourcesOrBuilderList()
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.asset.v1.RelatedResourceOrBuilder> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RelatedResources.Builder mergeFrom(RelatedResources other)
public RelatedResources.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RelatedResources.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final RelatedResources.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RelatedResources.Builder removeRelatedResources(int index)
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Parameter |
Name |
Description |
index |
int
|
public RelatedResources.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public RelatedResources.Builder setRelatedResources(int index, RelatedResource value)
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
public RelatedResources.Builder setRelatedResources(int index, RelatedResource.Builder builderForValue)
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
public RelatedResources.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final RelatedResources.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides