public interface ConfigVariableTemplateOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDescription()
public abstract String getDescription()Optional. Description.
 string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| String | The description. | 
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Optional. Description.
 string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for description. | 
getEnumOptions(int index)
public abstract ConfigValueOption getEnumOptions(int index) Optional. Enum options. To be populated if ValueType is ENUM.
 
 repeated .google.cloud.apihub.v1.ConfigValueOption enum_options = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ConfigValueOption | |
getEnumOptionsCount()
public abstract int getEnumOptionsCount() Optional. Enum options. To be populated if ValueType is ENUM.
 
 repeated .google.cloud.apihub.v1.ConfigValueOption enum_options = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| int | |
getEnumOptionsList()
public abstract List<ConfigValueOption> getEnumOptionsList() Optional. Enum options. To be populated if ValueType is ENUM.
 
 repeated .google.cloud.apihub.v1.ConfigValueOption enum_options = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<ConfigValueOption> | |
getEnumOptionsOrBuilder(int index)
public abstract ConfigValueOptionOrBuilder getEnumOptionsOrBuilder(int index) Optional. Enum options. To be populated if ValueType is ENUM.
 
 repeated .google.cloud.apihub.v1.ConfigValueOption enum_options = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ConfigValueOptionOrBuilder | |
getEnumOptionsOrBuilderList()
public abstract List<? extends ConfigValueOptionOrBuilder> getEnumOptionsOrBuilderList() Optional. Enum options. To be populated if ValueType is ENUM.
 
 repeated .google.cloud.apihub.v1.ConfigValueOption enum_options = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.apihub.v1.ConfigValueOptionOrBuilder> | |
getId()
public abstract String getId()Required. ID of the config variable. Must be unique within the configuration.
 string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The id. | 
getIdBytes()
public abstract ByteString getIdBytes()Required. ID of the config variable. Must be unique within the configuration.
 string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for id. | 
getMultiSelectOptions(int index)
public abstract ConfigValueOption getMultiSelectOptions(int index) Optional. Multi select options. To be populated if ValueType is
 MULTI_SELECT.
 
 repeated .google.cloud.apihub.v1.ConfigValueOption multi_select_options = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ConfigValueOption | |
getMultiSelectOptionsCount()
public abstract int getMultiSelectOptionsCount() Optional. Multi select options. To be populated if ValueType is
 MULTI_SELECT.
 
 repeated .google.cloud.apihub.v1.ConfigValueOption multi_select_options = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| int | |
getMultiSelectOptionsList()
public abstract List<ConfigValueOption> getMultiSelectOptionsList() Optional. Multi select options. To be populated if ValueType is
 MULTI_SELECT.
 
 repeated .google.cloud.apihub.v1.ConfigValueOption multi_select_options = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<ConfigValueOption> | |
getMultiSelectOptionsOrBuilder(int index)
public abstract ConfigValueOptionOrBuilder getMultiSelectOptionsOrBuilder(int index) Optional. Multi select options. To be populated if ValueType is
 MULTI_SELECT.
 
 repeated .google.cloud.apihub.v1.ConfigValueOption multi_select_options = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ConfigValueOptionOrBuilder | |
getMultiSelectOptionsOrBuilderList()
public abstract List<? extends ConfigValueOptionOrBuilder> getMultiSelectOptionsOrBuilderList() Optional. Multi select options. To be populated if ValueType is
 MULTI_SELECT.
 
 repeated .google.cloud.apihub.v1.ConfigValueOption multi_select_options = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.apihub.v1.ConfigValueOptionOrBuilder> | |
getRequired()
public abstract boolean getRequired() Optional. Flag represents that this ConfigVariable must be provided for a
 PluginInstance.
 bool required = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| boolean | The required. | 
getValidationRegex()
public abstract String getValidationRegex() Optional. Regular expression in RE2 syntax used for validating the value
 of a ConfigVariable.
 string validation_regex = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| String | The validationRegex. | 
getValidationRegexBytes()
public abstract ByteString getValidationRegexBytes() Optional. Regular expression in RE2 syntax used for validating the value
 of a ConfigVariable.
 string validation_regex = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for validationRegex. | 
getValueType()
public abstract ConfigVariableTemplate.ValueType getValueType()Required. Type of the parameter: string, int, bool etc.
 
 .google.cloud.apihub.v1.ConfigVariableTemplate.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| ConfigVariableTemplate.ValueType | The valueType. | 
getValueTypeValue()
public abstract int getValueTypeValue()Required. Type of the parameter: string, int, bool etc.
 
 .google.cloud.apihub.v1.ConfigVariableTemplate.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for valueType. |