public final class AnalyzeOrgPoliciesResponse extends GeneratedMessageV3 implements AnalyzeOrgPoliciesResponseOrBuilder
The response message for
AssetService.AnalyzeOrgPolicies.
Protobuf type google.cloud.asset.v1.AnalyzeOrgPoliciesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CONSTRAINT_FIELD_NUMBER
public static final int CONSTRAINT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ORG_POLICY_RESULTS_FIELD_NUMBER
public static final int ORG_POLICY_RESULTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AnalyzeOrgPoliciesResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AnalyzeOrgPoliciesResponse.Builder newBuilder()
newBuilder(AnalyzeOrgPoliciesResponse prototype)
public static AnalyzeOrgPoliciesResponse.Builder newBuilder(AnalyzeOrgPoliciesResponse prototype)
public static AnalyzeOrgPoliciesResponse parseDelimitedFrom(InputStream input)
public static AnalyzeOrgPoliciesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AnalyzeOrgPoliciesResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeOrgPoliciesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AnalyzeOrgPoliciesResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeOrgPoliciesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeOrgPoliciesResponse parseFrom(CodedInputStream input)
public static AnalyzeOrgPoliciesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AnalyzeOrgPoliciesResponse parseFrom(InputStream input)
public static AnalyzeOrgPoliciesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AnalyzeOrgPoliciesResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeOrgPoliciesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AnalyzeOrgPoliciesResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getConstraint()
public AnalyzerOrgPolicyConstraint getConstraint()
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()
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
|
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> |
|
getParserForType()
public Parser<AnalyzeOrgPoliciesResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AnalyzeOrgPoliciesResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnalyzeOrgPoliciesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AnalyzeOrgPoliciesResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides