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
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
addGovernedAssetsBuilder()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addGovernedAssetsBuilder()
The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AnalyzeOrgPolicyGovernedAssetsResponse build()
Returns
buildPartial()
public AnalyzeOrgPolicyGovernedAssetsResponse buildPartial()
Returns
clear()
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clear()
Returns
Overrides
clearConstraint()
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clearConstraint()
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGovernedAssets()
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clearGovernedAssets()
The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;
Returns
clearNextPageToken()
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clearNextPageToken()
The page token to fetch the next page for
AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets.
string next_page_token = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder clone()
Returns
Overrides
getConstraint()
public AnalyzerOrgPolicyConstraint getConstraint()
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
Returns
getConstraintBuilder()
public AnalyzerOrgPolicyConstraint.Builder getConstraintBuilder()
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
Returns
getConstraintOrBuilder()
public AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder()
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
Returns
getDefaultInstanceForType()
public AnalyzeOrgPolicyGovernedAssetsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
getGovernedAssetsCount()
public int getGovernedAssetsCount()
The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;
Returns
getGovernedAssetsList()
public List<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset> getGovernedAssetsList()
The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(AnalyzeOrgPolicyGovernedAssetsResponse other)
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder mergeFrom(AnalyzeOrgPolicyGovernedAssetsResponse other)
Parameter
Returns
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPolicyGovernedAssetsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPolicyGovernedAssetsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides