Interface SerializedPolicyOrBuilder (0.3.0)

public interface SerializedPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApplyConditions(int index)

public abstract ApplyCondition getApplyConditions(int index)

Optional. The serialized policy apply conditions.

repeated .google.cloud.designcenter.v1.ApplyCondition apply_conditions = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ApplyCondition

getApplyConditionsCount()

public abstract int getApplyConditionsCount()

Optional. The serialized policy apply conditions.

repeated .google.cloud.designcenter.v1.ApplyCondition apply_conditions = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getApplyConditionsList()

public abstract List<ApplyCondition> getApplyConditionsList()

Optional. The serialized policy apply conditions.

repeated .google.cloud.designcenter.v1.ApplyCondition apply_conditions = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ApplyCondition>

getApplyConditionsOrBuilder(int index)

public abstract ApplyConditionOrBuilder getApplyConditionsOrBuilder(int index)

Optional. The serialized policy apply conditions.

repeated .google.cloud.designcenter.v1.ApplyCondition apply_conditions = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ApplyConditionOrBuilder

getApplyConditionsOrBuilderList()

public abstract List<? extends ApplyConditionOrBuilder> getApplyConditionsOrBuilderList()

Optional. The serialized policy apply conditions.

repeated .google.cloud.designcenter.v1.ApplyCondition apply_conditions = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.ApplyConditionOrBuilder>

getCloudControlConfigs(int index)

public abstract CloudControlConfig getCloudControlConfigs(int index)

Optional. Stored parameter values grouped by cloud control.

repeated .google.cloud.designcenter.v1.CloudControlConfig cloud_control_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CloudControlConfig

getCloudControlConfigsCount()

public abstract int getCloudControlConfigsCount()

Optional. Stored parameter values grouped by cloud control.

repeated .google.cloud.designcenter.v1.CloudControlConfig cloud_control_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCloudControlConfigsList()

public abstract List<CloudControlConfig> getCloudControlConfigsList()

Optional. Stored parameter values grouped by cloud control.

repeated .google.cloud.designcenter.v1.CloudControlConfig cloud_control_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CloudControlConfig>

getCloudControlConfigsOrBuilder(int index)

public abstract CloudControlConfigOrBuilder getCloudControlConfigsOrBuilder(int index)

Optional. Stored parameter values grouped by cloud control.

repeated .google.cloud.designcenter.v1.CloudControlConfig cloud_control_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CloudControlConfigOrBuilder

getCloudControlConfigsOrBuilderList()

public abstract List<? extends CloudControlConfigOrBuilder> getCloudControlConfigsOrBuilderList()

Optional. Stored parameter values grouped by cloud control.

repeated .google.cloud.designcenter.v1.CloudControlConfig cloud_control_configs = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.designcenter.v1.CloudControlConfigOrBuilder>

getDescription()

public abstract String getDescription()

Optional. The serialized policy description. At most 2048 characters.

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. The serialized policy description. At most 2048 characters.

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

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public abstract String getDisplayName()

Optional. The serialized policy display name. The number of characters should be less than 128 characters.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Optional. The serialized policy display name. The number of characters should be less than 128 characters.

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

Returns
Type Description
ByteString

The bytes for displayName.

getPolicyRevisionUri()

public abstract String getPolicyRevisionUri()

Optional. URI of the policy revision.

string policy_revision_uri = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The policyRevisionUri.

getPolicyRevisionUriBytes()

public abstract ByteString getPolicyRevisionUriBytes()

Optional. URI of the policy revision.

string policy_revision_uri = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for policyRevisionUri.

getPolicyType()

public abstract SerializedPolicy.PolicyType getPolicyType()

Required. Policy type will be used to determine the domain of the policy.

.google.cloud.designcenter.v1.SerializedPolicy.PolicyType policy_type = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SerializedPolicy.PolicyType

The policyType.

getPolicyTypeValue()

public abstract int getPolicyTypeValue()

Required. Policy type will be used to determine the domain of the policy.

.google.cloud.designcenter.v1.SerializedPolicy.PolicyType policy_type = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for policyType.

getPolicyUri()

public abstract String getPolicyUri()

Optional. URI of the policy.

string policy_uri = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The policyUri.

getPolicyUriBytes()

public abstract ByteString getPolicyUriBytes()

Optional. URI of the policy.

string policy_uri = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for policyUri.

getSourceUriCase()

public abstract SerializedPolicy.SourceUriCase getSourceUriCase()
Returns
Type Description
SerializedPolicy.SourceUriCase

getUri()

public abstract String getUri()

Required. The uri of the policy in application template. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/policies/{policy}

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

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

Required. The uri of the policy in application template. Format: projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/policies/{policy}

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

Returns
Type Description
ByteString

The bytes for uri.

hasPolicyRevisionUri()

public abstract boolean hasPolicyRevisionUri()

Optional. URI of the policy revision.

string policy_revision_uri = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the policyRevisionUri field is set.

hasPolicyUri()

public abstract boolean hasPolicyUri()

Optional. URI of the policy.

string policy_uri = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the policyUri field is set.