Package com.google.cloud.asset.v1
Class AnalyzeOrgPolicyGovernedAssetsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.Builder>
com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.Builder
- All Implemented Interfaces:
AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AnalyzeOrgPolicyGovernedAssetsResponse
public static final class AnalyzeOrgPolicyGovernedAssetsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.Builder>
implements AnalyzeOrgPolicyGovernedAssetsResponseOrBuilder
The response message for [AssetService.AnalyzeOrgPolicyGovernedAssets][google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedAssets].Protobuf type
google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllGovernedAssets(Iterable<? extends AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset> values) The list of the analyzed governed assets.addGovernedAssets(int index, AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) The list of the analyzed governed assets.addGovernedAssets(int index, AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue) The list of the analyzed governed assets.The list of the analyzed governed assets.The list of the analyzed governed assets.The list of the analyzed governed assets.addGovernedAssetsBuilder(int index) The list of the analyzed governed assets.build()clear()The definition of the constraint in the request.The list of the analyzed governed assets.The page token to fetch the next page for [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].The definition of the constraint in the request.The definition of the constraint in the request.The definition of the constraint in the request.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGovernedAssets(int index) The list of the analyzed governed assets.getGovernedAssetsBuilder(int index) The list of the analyzed governed assets.The list of the analyzed governed assets.intThe list of the analyzed governed assets.The list of the analyzed governed assets.getGovernedAssetsOrBuilder(int index) The list of the analyzed governed assets.The list of the analyzed governed assets.The page token to fetch the next page for [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].com.google.protobuf.ByteStringThe page token to fetch the next page for [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].booleanThe definition of the constraint in the request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe definition of the constraint in the request.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeGovernedAssets(int index) The list of the analyzed governed assets.The definition of the constraint in the request.setConstraint(AnalyzerOrgPolicyConstraint.Builder builderForValue) The definition of the constraint in the request.setGovernedAssets(int index, AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) The list of the analyzed governed assets.setGovernedAssets(int index, AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder builderForValue) The list of the analyzed governed assets.setNextPageToken(String value) The page token to fetch the next page for [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].setNextPageTokenBytes(com.google.protobuf.ByteString value) The page token to fetch the next page for [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.Builder>
-
mergeFrom
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder mergeFrom(AnalyzeOrgPolicyGovernedAssetsResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.Builder>
-
mergeFrom
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.Builder>- Throws:
IOException
-
getGovernedAssetsList
The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;- Specified by:
getGovernedAssetsListin interfaceAnalyzeOrgPolicyGovernedAssetsResponseOrBuilder
-
getGovernedAssetsCount
public int getGovernedAssetsCount()The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;- Specified by:
getGovernedAssetsCountin interfaceAnalyzeOrgPolicyGovernedAssetsResponseOrBuilder
-
getGovernedAssets
The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;- Specified by:
getGovernedAssetsin interfaceAnalyzeOrgPolicyGovernedAssetsResponseOrBuilder
-
setGovernedAssets
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; -
setGovernedAssets
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; -
addGovernedAssets
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder addGovernedAssets(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset value) The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; -
addGovernedAssets
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; -
addGovernedAssets
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; -
addGovernedAssets
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; -
addAllGovernedAssets
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; -
clearGovernedAssets
The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; -
removeGovernedAssets
The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; -
getGovernedAssetsBuilder
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder getGovernedAssetsBuilder(int index) The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; -
getGovernedAssetsOrBuilder
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder getGovernedAssetsOrBuilder(int index) The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;- Specified by:
getGovernedAssetsOrBuilderin interfaceAnalyzeOrgPolicyGovernedAssetsResponseOrBuilder
-
getGovernedAssetsOrBuilderList
public List<? extends AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder> getGovernedAssetsOrBuilderList()The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;- Specified by:
getGovernedAssetsOrBuilderListin interfaceAnalyzeOrgPolicyGovernedAssetsResponseOrBuilder
-
addGovernedAssetsBuilder
The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; -
addGovernedAssetsBuilder
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addGovernedAssetsBuilder(int index) The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; -
getGovernedAssetsBuilderList
public List<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder> getGovernedAssetsBuilderList()The list of the analyzed governed assets.
repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1; -
hasConstraint
public boolean hasConstraint()The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;- Specified by:
hasConstraintin interfaceAnalyzeOrgPolicyGovernedAssetsResponseOrBuilder- Returns:
- Whether the constraint field is set.
-
getConstraint
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;- Specified by:
getConstraintin interfaceAnalyzeOrgPolicyGovernedAssetsResponseOrBuilder- Returns:
- The constraint.
-
setConstraint
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder setConstraint(AnalyzerOrgPolicyConstraint value) The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; -
setConstraint
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder setConstraint(AnalyzerOrgPolicyConstraint.Builder builderForValue) The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; -
mergeConstraint
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder mergeConstraint(AnalyzerOrgPolicyConstraint value) The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; -
clearConstraint
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; -
getConstraintBuilder
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2; -
getConstraintOrBuilder
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;- Specified by:
getConstraintOrBuilderin interfaceAnalyzeOrgPolicyGovernedAssetsResponseOrBuilder
-
getNextPageToken
The page token to fetch the next page for [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
string next_page_token = 3;- Specified by:
getNextPageTokenin interfaceAnalyzeOrgPolicyGovernedAssetsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()The page token to fetch the next page for [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
string next_page_token = 3;- Specified by:
getNextPageTokenBytesin interfaceAnalyzeOrgPolicyGovernedAssetsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
The page token to fetch the next page for [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
string next_page_token = 3;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
The page token to fetch the next page for [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
string next_page_token = 3;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public AnalyzeOrgPolicyGovernedAssetsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) The page token to fetch the next page for [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
string next_page_token = 3;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-