Class AnalyzeOrgPoliciesResponse (3.22.0)

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
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()
Returns
Type Description
AnalyzeOrgPoliciesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AnalyzeOrgPoliciesResponse.Builder newBuilder()
Returns
Type Description
AnalyzeOrgPoliciesResponse.Builder

newBuilder(AnalyzeOrgPoliciesResponse prototype)

public static AnalyzeOrgPoliciesResponse.Builder newBuilder(AnalyzeOrgPoliciesResponse prototype)
Parameter
Name Description
prototype AnalyzeOrgPoliciesResponse
Returns
Type Description
AnalyzeOrgPoliciesResponse.Builder

parseDelimitedFrom(InputStream input)

public static AnalyzeOrgPoliciesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzeOrgPoliciesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeOrgPoliciesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeOrgPoliciesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AnalyzeOrgPoliciesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AnalyzeOrgPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeOrgPoliciesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeOrgPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnalyzeOrgPoliciesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AnalyzeOrgPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeOrgPoliciesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeOrgPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnalyzeOrgPoliciesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AnalyzeOrgPoliciesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeOrgPoliciesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeOrgPoliciesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AnalyzeOrgPoliciesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AnalyzeOrgPoliciesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnalyzeOrgPoliciesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeOrgPoliciesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AnalyzeOrgPoliciesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AnalyzeOrgPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnalyzeOrgPoliciesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyzeOrgPoliciesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AnalyzeOrgPoliciesResponse> parser()
Returns
Type Description
Parser<AnalyzeOrgPoliciesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConstraint()

public AnalyzerOrgPolicyConstraint getConstraint()

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Returns
Type Description
AnalyzerOrgPolicyConstraint

The constraint.

getConstraintOrBuilder()

public AnalyzerOrgPolicyConstraintOrBuilder getConstraintOrBuilder()

The definition of the constraint in the request.

.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;

Returns
Type Description
AnalyzerOrgPolicyConstraintOrBuilder

getDefaultInstanceForType()

public AnalyzeOrgPoliciesResponse getDefaultInstanceForType()
Returns
Type Description
AnalyzeOrgPoliciesResponse

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
Type Description
AnalyzeOrgPoliciesResponse.OrgPolicyResult

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;

Returns
Type Description
List<OrgPolicyResult>

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
Type Description
AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder

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
Type Description
Parser<AnalyzeOrgPoliciesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AnalyzeOrgPoliciesResponse.Builder newBuilderForType()
Returns
Type Description
AnalyzeOrgPoliciesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnalyzeOrgPoliciesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AnalyzeOrgPoliciesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AnalyzeOrgPoliciesResponse.Builder toBuilder()
Returns
Type Description
AnalyzeOrgPoliciesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException