Interface PolicySetOrBuilder (0.7.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
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. Description of the Policy set.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
Policy

getPoliciesCount()

public abstract int getPoliciesCount()

Required. List of policies.

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

Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for policySetId.