Send feedback
Class RelatedResources.Builder (3.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.4.0 keyboard_arrow_down
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
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
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 >
Returns
public RelatedResources . Builder addRelatedResources ( RelatedResource value )
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Parameter
Returns
public RelatedResources . Builder addRelatedResources ( RelatedResource . Builder builderForValue )
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
public RelatedResource . Builder addRelatedResourcesBuilder ()
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Returns
public RelatedResource . Builder addRelatedResourcesBuilder ( int index )
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Parameter
Returns
public RelatedResources . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public RelatedResources build ()
Returns
public RelatedResources buildPartial ()
Returns
public RelatedResources . Builder clear ()
Returns
Overrides
public RelatedResources . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public RelatedResources . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public RelatedResources . Builder clearRelatedResources ()
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Returns
public RelatedResources . Builder clone ()
Returns
Overrides
public RelatedResources getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public RelatedResource getRelatedResources ( int index )
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Parameter
Returns
public RelatedResource . Builder getRelatedResourcesBuilder ( int index )
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Parameter
Returns
public List<RelatedResource . Builder > getRelatedResourcesBuilderList ()
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Returns
public int getRelatedResourcesCount ()
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Returns
public List<RelatedResource> getRelatedResourcesList ()
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Returns
public RelatedResourceOrBuilder getRelatedResourcesOrBuilder ( int index )
The detailed related resources of the primary resource.
repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
Parameter
Returns
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 ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public RelatedResources . Builder mergeFrom ( RelatedResources other )
Parameter
Returns
public RelatedResources . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public RelatedResources . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final RelatedResources . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
Returns
public RelatedResources . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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;
Parameters
Returns
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;
Parameters
Returns
public RelatedResources . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final RelatedResources . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]