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
|