public static final class AnalyzeOrgPoliciesResponse.Builder extends GeneratedMessageV3.Builder<AnalyzeOrgPoliciesResponse.Builder> implements AnalyzeOrgPoliciesResponseOrBuilder
The response message for
AssetService.AnalyzeOrgPolicies.
Protobuf type google.cloud.asset.v1.AnalyzeOrgPoliciesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addAllOrgPolicyResults(Iterable<? extends AnalyzeOrgPoliciesResponse.OrgPolicyResult> values)
public AnalyzeOrgPoliciesResponse.Builder addAllOrgPolicyResults(Iterable<? extends AnalyzeOrgPoliciesResponse.OrgPolicyResult> values)
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult>
|
addOrgPolicyResults(AnalyzeOrgPoliciesResponse.OrgPolicyResult value)
public AnalyzeOrgPoliciesResponse.Builder addOrgPolicyResults(AnalyzeOrgPoliciesResponse.OrgPolicyResult value)
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
addOrgPolicyResults(AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder builderForValue)
public AnalyzeOrgPoliciesResponse.Builder addOrgPolicyResults(AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder builderForValue)
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
addOrgPolicyResults(int index, AnalyzeOrgPoliciesResponse.OrgPolicyResult value)
public AnalyzeOrgPoliciesResponse.Builder addOrgPolicyResults(int index, AnalyzeOrgPoliciesResponse.OrgPolicyResult value)
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
addOrgPolicyResults(int index, AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder builderForValue)
public AnalyzeOrgPoliciesResponse.Builder addOrgPolicyResults(int index, AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder builderForValue)
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
addOrgPolicyResultsBuilder()
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addOrgPolicyResultsBuilder()
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
addOrgPolicyResultsBuilder(int index)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addOrgPolicyResultsBuilder(int index)
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AnalyzeOrgPoliciesResponse build()
buildPartial()
public AnalyzeOrgPoliciesResponse buildPartial()
clear()
public AnalyzeOrgPoliciesResponse.Builder clear()
Overrides
clearConstraint()
public AnalyzeOrgPoliciesResponse.Builder clearConstraint()
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
clearField(Descriptors.FieldDescriptor field)
public AnalyzeOrgPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public AnalyzeOrgPoliciesResponse.Builder clearNextPageToken()
The page token to fetch the next page for
AnalyzeOrgPoliciesResponse.org_policy_results.
string next_page_token = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeOrgPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOrgPolicyResults()
public AnalyzeOrgPoliciesResponse.Builder clearOrgPolicyResults()
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
clone()
public AnalyzeOrgPoliciesResponse.Builder clone()
Overrides
getConstraint()
public AnalyzerOrgPolicyConstraint getConstraint()
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
getConstraintBuilder()
public AnalyzerOrgPolicyConstraint.Builder getConstraintBuilder()
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
getConstraintOrBuilder()
public AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder()
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
getDefaultInstanceForType()
public AnalyzeOrgPoliciesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
The page token to fetch the next page for
AnalyzeOrgPoliciesResponse.org_policy_results.
string next_page_token = 3;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
The page token to fetch the next page for
AnalyzeOrgPoliciesResponse.org_policy_results.
string next_page_token = 3;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getOrgPolicyResults(int index)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult getOrgPolicyResults(int index)
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
Parameter |
Name |
Description |
index |
int
|
getOrgPolicyResultsBuilder(int index)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder getOrgPolicyResultsBuilder(int index)
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
Parameter |
Name |
Description |
index |
int
|
getOrgPolicyResultsBuilderList()
public List<AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder> getOrgPolicyResultsBuilderList()
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
getOrgPolicyResultsCount()
public int getOrgPolicyResultsCount()
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
Returns |
Type |
Description |
int |
|
getOrgPolicyResultsList()
public List<AnalyzeOrgPoliciesResponse.OrgPolicyResult> getOrgPolicyResultsList()
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
getOrgPolicyResultsOrBuilder(int index)
public AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder getOrgPolicyResultsOrBuilder(int index)
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
Parameter |
Name |
Description |
index |
int
|
getOrgPolicyResultsOrBuilderList()
public List<? extends AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder> getOrgPolicyResultsOrBuilderList()
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder> |
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeConstraint(AnalyzerOrgPolicyConstraint value)
public AnalyzeOrgPoliciesResponse.Builder mergeConstraint(AnalyzerOrgPolicyConstraint value)
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
mergeFrom(AnalyzeOrgPoliciesResponse other)
public AnalyzeOrgPoliciesResponse.Builder mergeFrom(AnalyzeOrgPoliciesResponse other)
public AnalyzeOrgPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AnalyzeOrgPoliciesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeOrgPolicyResults(int index)
public AnalyzeOrgPoliciesResponse.Builder removeOrgPolicyResults(int index)
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
Parameter |
Name |
Description |
index |
int
|
setConstraint(AnalyzerOrgPolicyConstraint value)
public AnalyzeOrgPoliciesResponse.Builder setConstraint(AnalyzerOrgPolicyConstraint value)
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
setConstraint(AnalyzerOrgPolicyConstraint.Builder builderForValue)
public AnalyzeOrgPoliciesResponse.Builder setConstraint(AnalyzerOrgPolicyConstraint.Builder builderForValue)
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public AnalyzeOrgPoliciesResponse.Builder setNextPageToken(String value)
The page token to fetch the next page for
AnalyzeOrgPoliciesResponse.org_policy_results.
string next_page_token = 3;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public AnalyzeOrgPoliciesResponse.Builder setNextPageTokenBytes(ByteString value)
The page token to fetch the next page for
AnalyzeOrgPoliciesResponse.org_policy_results.
string next_page_token = 3;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setOrgPolicyResults(int index, AnalyzeOrgPoliciesResponse.OrgPolicyResult value)
public AnalyzeOrgPoliciesResponse.Builder setOrgPolicyResults(int index, AnalyzeOrgPoliciesResponse.OrgPolicyResult value)
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
setOrgPolicyResults(int index, AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder builderForValue)
public AnalyzeOrgPoliciesResponse.Builder setOrgPolicyResults(int index, AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder builderForValue)
The organization policies under the
AnalyzeOrgPoliciesRequest.scope
with the
AnalyzeOrgPoliciesRequest.constraint.
repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeOrgPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides