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.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
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>
|
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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;
Returns
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
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AnalyzeOrgPoliciesResponse build()
Returns
buildPartial()
public AnalyzeOrgPoliciesResponse buildPartial()
Returns
clear()
public AnalyzeOrgPoliciesResponse.Builder clear()
Returns
Overrides
clearConstraint()
public AnalyzeOrgPoliciesResponse.Builder clearConstraint()
The definition of the constraint in the request.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public AnalyzeOrgPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public AnalyzeOrgPoliciesResponse.Builder clearNextPageToken()
The page token to fetch the next page for
AnalyzeOrgPoliciesResponse.org_policy_results.
string next_page_token = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeOrgPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
clone()
public AnalyzeOrgPoliciesResponse.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 AnalyzeOrgPoliciesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
|
Returns
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
|
Returns
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;
Returns
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
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;
Returns
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
|
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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;
Parameter
Returns
mergeFrom(AnalyzeOrgPoliciesResponse other)
public AnalyzeOrgPoliciesResponse.Builder mergeFrom(AnalyzeOrgPoliciesResponse other)
Parameter
Returns
public AnalyzeOrgPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AnalyzeOrgPoliciesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
|
Returns
setConstraint(AnalyzerOrgPolicyConstraint value)
public AnalyzeOrgPoliciesResponse.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 AnalyzeOrgPoliciesResponse.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 AnalyzeOrgPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeOrgPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides