Class AnalyzeOrgPolicyGovernedAssetsResponse.Builder (3.45.0)

public static final class AnalyzeOrgPolicyGovernedAssetsResponse.Builder extends GeneratedMessageV3.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.Builder> implements AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder

The response message for AssetService.AnalyzeOrgPolicyGovernedAssets.

Protobuf type google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllGovernedAssets(Iterable<? extends AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset> values)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder addAllGovernedAssets(Iterable<? extends AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset> values)

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset>
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

addGovernedAssets(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder addGovernedAssets(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value)

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Parameter
Name Description
value AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

addGovernedAssets(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder addGovernedAssets(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue)

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Parameter
Name Description
builderForValue AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

addGovernedAssets(int index, AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder addGovernedAssets(int index, AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value)

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Parameters
Name Description
index int
value AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

addGovernedAssets(int index, AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder addGovernedAssets(int index, AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue)

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Parameters
Name Description
index int
builderForValue AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

addGovernedAssetsBuilder()

public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addGovernedAssetsBuilder()

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder

addGovernedAssetsBuilder(int index)

public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addGovernedAssetsBuilder(int index)

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder
Overrides

build()

public AnalyzeOrgPolicyGovernedAssetsResponse build()
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse

buildPartial()

public AnalyzeOrgPolicyGovernedAssetsResponse buildPartial()
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse

clear()

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clear()
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder
Overrides

clearConstraint()

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clearConstraint()

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder
Overrides

clearGovernedAssets()

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clearGovernedAssets()

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

clearNextPageToken()

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clearNextPageToken()

The page token to fetch the next page for AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets.

string next_page_token = 3;

Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder
Overrides

clone()

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clone()
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder
Overrides

getConstraint()

public AnalyzerOrgPolicyConstraint getConstraint()

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Returns
Type Description
AnalyzerOrgPolicyConstraint

The constraint.

getConstraintBuilder()

public AnalyzerOrgPolicyConstraint.Builder getConstraintBuilder()

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Returns
Type Description
AnalyzerOrgPolicyConstraint.Builder

getConstraintOrBuilder()

public AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder()

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Returns
Type Description
AnalyzerOrgPolicyConstraintOrBuilder

getDefaultInstanceForType()

public AnalyzeOrgPolicyGovernedAssetsResponse getDefaultInstanceForType()
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGovernedAssets(int index)

public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getGovernedAssets(int index)

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset

getGovernedAssetsBuilder(int index)

public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder getGovernedAssetsBuilder(int index)

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder

getGovernedAssetsBuilderList()

public List<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder> getGovernedAssetsBuilderList()

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Returns
Type Description
List<Builder>

getGovernedAssetsCount()

public int getGovernedAssetsCount()

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Returns
Type Description
int

getGovernedAssetsList()

public List<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset> getGovernedAssetsList()

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Returns
Type Description
List<GovernedAsset>

getGovernedAssetsOrBuilder(int index)

public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder getGovernedAssetsOrBuilder(int index)

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder

getGovernedAssetsOrBuilderList()

public List<? extends AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder> getGovernedAssetsOrBuilderList()

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder>

getNextPageToken()

public String getNextPageToken()

The page token to fetch the next page for AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets.

string next_page_token = 3;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The page token to fetch the next page for AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets.

string next_page_token = 3;

Returns
Type Description
ByteString

The bytes for nextPageToken.

hasConstraint()

public boolean hasConstraint()

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Returns
Type Description
boolean

Whether the constraint field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConstraint(AnalyzerOrgPolicyConstraint value)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder mergeConstraint(AnalyzerOrgPolicyConstraint value)

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Parameter
Name Description
value AnalyzerOrgPolicyConstraint
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

mergeFrom(AnalyzeOrgPolicyGovernedAssetsResponse other)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder mergeFrom(AnalyzeOrgPolicyGovernedAssetsResponse other)
Parameter
Name Description
other AnalyzeOrgPolicyGovernedAssetsResponse
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeOrgPolicyGovernedAssetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder
Overrides

removeGovernedAssets(int index)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder removeGovernedAssets(int index)

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

setConstraint(AnalyzerOrgPolicyConstraint value)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder setConstraint(AnalyzerOrgPolicyConstraint value)

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Parameter
Name Description
value AnalyzerOrgPolicyConstraint
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

setConstraint(AnalyzerOrgPolicyConstraint.Builder builderForValue)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder setConstraint(AnalyzerOrgPolicyConstraint.Builder builderForValue)

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Parameter
Name Description
builderForValue AnalyzerOrgPolicyConstraint.Builder
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder
Overrides

setGovernedAssets(int index, AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder setGovernedAssets(int index, AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value)

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Parameters
Name Description
index int
value AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

setGovernedAssets(int index, AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder setGovernedAssets(int index, AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue)

The list of the analyzed governed assets.

repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;

Parameters
Name Description
index int
builderForValue AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

setNextPageToken(String value)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder setNextPageToken(String value)

The page token to fetch the next page for AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets.

string next_page_token = 3;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder setNextPageTokenBytes(ByteString value)

The page token to fetch the next page for AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets.

string next_page_token = 3;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AnalyzeOrgPolicyGovernedAssetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeOrgPolicyGovernedAssetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.Builder
Overrides