Interface ParameterSpecOrBuilder (0.1.0)

public interface ParameterSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDefaultValue()

public abstract ParamValue getDefaultValue()

Optional. The default value of the parameter.

.google.cloud.cloudsecuritycompliance.v1.ParamValue default_value = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ParamValue

The defaultValue.

getDefaultValueOrBuilder()

public abstract ParamValueOrBuilder getDefaultValueOrBuilder()

Optional. The default value of the parameter.

.google.cloud.cloudsecuritycompliance.v1.ParamValue default_value = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ParamValueOrBuilder

getDescription()

public abstract String getDescription()

Optional. The description of the parameter. The maximum length is 2000 characters.

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. The description of the parameter. The maximum length is 2000 characters.

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

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public abstract String getDisplayName()

Optional. The display name of the parameter. The maximum length is 200 characters.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Optional. The display name of the parameter. The maximum length is 200 characters.

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

Returns
Type Description
ByteString

The bytes for displayName.

getIsRequired()

public abstract boolean getIsRequired()

Required. if the parameter is required

bool is_required = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The isRequired.

getName()

public abstract String getName()

Required. The name of the parameter.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the parameter.

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

Returns
Type Description
ByteString

The bytes for name.

getSubParameters(int index)

public abstract ParameterSpec getSubParameters(int index)

Optional. ParameterSpec for oneof attributes.

repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec sub_parameters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterSpec

getSubParametersCount()

public abstract int getSubParametersCount()

Optional. ParameterSpec for oneof attributes.

repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec sub_parameters = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSubParametersList()

public abstract List<ParameterSpec> getSubParametersList()

Optional. ParameterSpec for oneof attributes.

repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec sub_parameters = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ParameterSpec>

getSubParametersOrBuilder(int index)

public abstract ParameterSpecOrBuilder getSubParametersOrBuilder(int index)

Optional. ParameterSpec for oneof attributes.

repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec sub_parameters = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterSpecOrBuilder

getSubParametersOrBuilderList()

public abstract List<? extends ParameterSpecOrBuilder> getSubParametersOrBuilderList()

Optional. ParameterSpec for oneof attributes.

repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSpec sub_parameters = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.cloudsecuritycompliance.v1.ParameterSpecOrBuilder>

getSubstitutionRules(int index)

public abstract ParameterSubstitutionRule getSubstitutionRules(int index)

Optional. List of parameter substitutions.

repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSubstitutionRule substitution_rules = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterSubstitutionRule

getSubstitutionRulesCount()

public abstract int getSubstitutionRulesCount()

Optional. List of parameter substitutions.

repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSubstitutionRule substitution_rules = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSubstitutionRulesList()

public abstract List<ParameterSubstitutionRule> getSubstitutionRulesList()

Optional. List of parameter substitutions.

repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSubstitutionRule substitution_rules = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ParameterSubstitutionRule>

getSubstitutionRulesOrBuilder(int index)

public abstract ParameterSubstitutionRuleOrBuilder getSubstitutionRulesOrBuilder(int index)

Optional. List of parameter substitutions.

repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSubstitutionRule substitution_rules = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ParameterSubstitutionRuleOrBuilder

getSubstitutionRulesOrBuilderList()

public abstract List<? extends ParameterSubstitutionRuleOrBuilder> getSubstitutionRulesOrBuilderList()

Optional. List of parameter substitutions.

repeated .google.cloud.cloudsecuritycompliance.v1.ParameterSubstitutionRule substitution_rules = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.cloudsecuritycompliance.v1.ParameterSubstitutionRuleOrBuilder>

getValidation()

public abstract Validation getValidation()

Optional. The allowed set of values for the parameter.

.google.cloud.cloudsecuritycompliance.v1.Validation validation = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Validation

The validation.

getValidationOrBuilder()

public abstract ValidationOrBuilder getValidationOrBuilder()

Optional. The allowed set of values for the parameter.

.google.cloud.cloudsecuritycompliance.v1.Validation validation = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ValidationOrBuilder

getValueType()

public abstract ParameterSpec.ValueType getValueType()

Required. Parameter value type.

.google.cloud.cloudsecuritycompliance.v1.ParameterSpec.ValueType value_type = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ParameterSpec.ValueType

The valueType.

getValueTypeValue()

public abstract int getValueTypeValue()

Required. Parameter value type.

.google.cloud.cloudsecuritycompliance.v1.ParameterSpec.ValueType value_type = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for valueType.

hasDefaultValue()

public abstract boolean hasDefaultValue()

Optional. The default value of the parameter.

.google.cloud.cloudsecuritycompliance.v1.ParamValue default_value = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the defaultValue field is set.

hasValidation()

public abstract boolean hasValidation()

Optional. The allowed set of values for the parameter.

.google.cloud.cloudsecuritycompliance.v1.Validation validation = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the validation field is set.