Interface PolicySetOrBuilder (0.2.0)

public interface PolicySetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

Optional. Description of the Policy set.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. Description of the Policy set.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for description.

getPolicies(int index)

public abstract Policy getPolicies(int index)

Required. List of policies.

repeated .google.cloud.securityposture.v1.Policy policies = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
Policy

getPoliciesCount()

public abstract int getPoliciesCount()

Required. List of policies.

repeated .google.cloud.securityposture.v1.Policy policies = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getPoliciesList()

public abstract List<Policy> getPoliciesList()

Required. List of policies.

repeated .google.cloud.securityposture.v1.Policy policies = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Policy>

getPoliciesOrBuilder(int index)

public abstract PolicyOrBuilder getPoliciesOrBuilder(int index)

Required. List of policies.

repeated .google.cloud.securityposture.v1.Policy policies = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
PolicyOrBuilder

getPoliciesOrBuilderList()

public abstract List<? extends PolicyOrBuilder> getPoliciesOrBuilderList()

Required. List of policies.

repeated .google.cloud.securityposture.v1.Policy policies = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.securityposture.v1.PolicyOrBuilder>

getPolicySetId()

public abstract String getPolicySetId()

Required. ID of the Policy set.

string policy_set_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The policySetId.

getPolicySetIdBytes()

public abstract ByteString getPolicySetIdBytes()

Required. ID of the Policy set.

string policy_set_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for policySetId.