Interface PostureTemplateOrBuilder (0.13.0)

public interface PostureTemplateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

Output only. Description of the Posture template.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Output only. Description of the Posture template.

string description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getName()

public abstract String getName()

Output only. Identifier. The name of the Posture template will be of the format organizations/{organization}/locations/{location}/postureTemplates/{postureTemplate}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Identifier. The name of the Posture template will be of the format organizations/{organization}/locations/{location}/postureTemplates/{postureTemplate}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPolicySets(int index)

public abstract PolicySet getPolicySets(int index)

Output only. Policy_sets to be used by the user.

repeated .google.cloud.securityposture.v1.PolicySet policy_sets = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PolicySet

getPolicySetsCount()

public abstract int getPolicySetsCount()

Output only. Policy_sets to be used by the user.

repeated .google.cloud.securityposture.v1.PolicySet policy_sets = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getPolicySetsList()

public abstract List<PolicySet> getPolicySetsList()

Output only. Policy_sets to be used by the user.

repeated .google.cloud.securityposture.v1.PolicySet policy_sets = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<PolicySet>

getPolicySetsOrBuilder(int index)

public abstract PolicySetOrBuilder getPolicySetsOrBuilder(int index)

Output only. Policy_sets to be used by the user.

repeated .google.cloud.securityposture.v1.PolicySet policy_sets = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PolicySetOrBuilder

getPolicySetsOrBuilderList()

public abstract List<? extends PolicySetOrBuilder> getPolicySetsOrBuilderList()

Output only. Policy_sets to be used by the user.

repeated .google.cloud.securityposture.v1.PolicySet policy_sets = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.securityposture.v1.PolicySetOrBuilder>

getRevisionId()

public abstract String getRevisionId()

Output only. The revision_id of a PostureTemplate.

string revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The revisionId.

getRevisionIdBytes()

public abstract ByteString getRevisionIdBytes()

Output only. The revision_id of a PostureTemplate.

string revision_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for revisionId.

getState()

public abstract PostureTemplate.State getState()

Output only. State of PostureTemplate resource.

.google.cloud.securityposture.v1.PostureTemplate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PostureTemplate.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. State of PostureTemplate resource.

.google.cloud.securityposture.v1.PostureTemplate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.