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