Class TemplateUiInput.Builder (0.3.0)
public static final class TemplateUiInput.Builder extends GeneratedMessage.Builder<TemplateUiInput.Builder> implements TemplateUiInputOrBuilder
TemplateUiInput defines the list of variables and their sections on the
deployment page.
Protobuf type google.cloud.designcenter.v1.TemplateUiInput
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public TemplateUiInput build()
public TemplateUiInput buildPartial()
public TemplateUiInput.Builder clear()
Overrides
public TemplateUiInput.Builder clearVariables()
public boolean containsVariables(String key)
Required. variables is a map defining all inputs on the UI.
map<string, .google.cloud.designcenter.v1.DisplayVariable> variables = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
key |
String
|
public TemplateUiInput getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,DisplayVariable> getMutableVariables()
Use alternate mutation accessors instead.
public Map<String,DisplayVariable> getVariables()
public int getVariablesCount()
Required. variables is a map defining all inputs on the UI.
map<string, .google.cloud.designcenter.v1.DisplayVariable> variables = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
public Map<String,DisplayVariable> getVariablesMap()
Required. variables is a map defining all inputs on the UI.
map<string, .google.cloud.designcenter.v1.DisplayVariable> variables = 1 [(.google.api.field_behavior) = REQUIRED];
public DisplayVariable getVariablesOrDefault(String key, DisplayVariable defaultValue)
Required. variables is a map defining all inputs on the UI.
map<string, .google.cloud.designcenter.v1.DisplayVariable> variables = 1 [(.google.api.field_behavior) = REQUIRED];
public DisplayVariable getVariablesOrThrow(String key)
Required. variables is a map defining all inputs on the UI.
map<string, .google.cloud.designcenter.v1.DisplayVariable> variables = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
key |
String
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public TemplateUiInput.Builder mergeFrom(TemplateUiInput other)
public TemplateUiInput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TemplateUiInput.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public TemplateUiInput.Builder putAllVariables(Map<String,DisplayVariable> values)
Required. variables is a map defining all inputs on the UI.
map<string, .google.cloud.designcenter.v1.DisplayVariable> variables = 1 [(.google.api.field_behavior) = REQUIRED];
public TemplateUiInput.Builder putVariables(String key, DisplayVariable value)
Required. variables is a map defining all inputs on the UI.
map<string, .google.cloud.designcenter.v1.DisplayVariable> variables = 1 [(.google.api.field_behavior) = REQUIRED];
public DisplayVariable.Builder putVariablesBuilderIfAbsent(String key)
Required. variables is a map defining all inputs on the UI.
map<string, .google.cloud.designcenter.v1.DisplayVariable> variables = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
key |
String
|
public TemplateUiInput.Builder removeVariables(String key)
Required. variables is a map defining all inputs on the UI.
map<string, .google.cloud.designcenter.v1.DisplayVariable> variables = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
key |
String
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-20 UTC."],[],[]]