Class ComponentParameterSchema.Builder (0.3.0)

public static final class ComponentParameterSchema.Builder extends GeneratedMessage.Builder<ComponentParameterSchema.Builder> implements ComponentParameterSchemaOrBuilder

Component parameter schema, which contains a list of all component parameters.

Protobuf type google.cloud.designcenter.v1.ComponentParameterSchema

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ComponentParameterSchema build()
Returns
Type Description
ComponentParameterSchema

buildPartial()

public ComponentParameterSchema buildPartial()
Returns
Type Description
ComponentParameterSchema

clear()

public ComponentParameterSchema.Builder clear()
Returns
Type Description
ComponentParameterSchema.Builder
Overrides

clearDefaultValue()

public ComponentParameterSchema.Builder clearDefaultValue()

Output only. The default value of the parameter.

.google.protobuf.Value default_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComponentParameterSchema.Builder

clearIsRequired()

public ComponentParameterSchema.Builder clearIsRequired()

Output only. Whether the parameter is required.

bool is_required = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComponentParameterSchema.Builder

This builder for chaining.

clearKey()

public ComponentParameterSchema.Builder clearKey()

Output only. The key of the parameter.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComponentParameterSchema.Builder

This builder for chaining.

clearType()

public ComponentParameterSchema.Builder clearType()

Output only. The type of the parameter.

string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComponentParameterSchema.Builder

This builder for chaining.

getDefaultInstanceForType()

public ComponentParameterSchema getDefaultInstanceForType()
Returns
Type Description
ComponentParameterSchema

getDefaultValue()

public Value getDefaultValue()

Output only. The default value of the parameter.

.google.protobuf.Value default_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Value

The defaultValue.

getDefaultValueBuilder()

public Value.Builder getDefaultValueBuilder()

Output only. The default value of the parameter.

.google.protobuf.Value default_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getDefaultValueOrBuilder()

public ValueOrBuilder getDefaultValueOrBuilder()

Output only. The default value of the parameter.

.google.protobuf.Value default_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ValueOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIsRequired()

public boolean getIsRequired()

Output only. Whether the parameter is required.

bool is_required = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The isRequired.

getKey()

public String getKey()

Output only. The key of the parameter.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

Output only. The key of the parameter.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for key.

getType()

public String getType()

Output only. The type of the parameter.

string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Output only. The type of the parameter.

string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for type.

hasDefaultValue()

public boolean hasDefaultValue()

Output only. The default value of the parameter.

.google.protobuf.Value default_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the defaultValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDefaultValue(Value value)

public ComponentParameterSchema.Builder mergeDefaultValue(Value value)

Output only. The default value of the parameter.

.google.protobuf.Value default_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Value
Returns
Type Description
ComponentParameterSchema.Builder

mergeFrom(ComponentParameterSchema other)

public ComponentParameterSchema.Builder mergeFrom(ComponentParameterSchema other)
Parameter
Name Description
other ComponentParameterSchema
Returns
Type Description
ComponentParameterSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ComponentParameterSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComponentParameterSchema.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ComponentParameterSchema.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ComponentParameterSchema.Builder
Overrides

setDefaultValue(Value value)

public ComponentParameterSchema.Builder setDefaultValue(Value value)

Output only. The default value of the parameter.

.google.protobuf.Value default_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Value
Returns
Type Description
ComponentParameterSchema.Builder

setDefaultValue(Value.Builder builderForValue)

public ComponentParameterSchema.Builder setDefaultValue(Value.Builder builderForValue)

Output only. The default value of the parameter.

.google.protobuf.Value default_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ComponentParameterSchema.Builder

setIsRequired(boolean value)

public ComponentParameterSchema.Builder setIsRequired(boolean value)

Output only. Whether the parameter is required.

bool is_required = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The isRequired to set.

Returns
Type Description
ComponentParameterSchema.Builder

This builder for chaining.

setKey(String value)

public ComponentParameterSchema.Builder setKey(String value)

Output only. The key of the parameter.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The key to set.

Returns
Type Description
ComponentParameterSchema.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public ComponentParameterSchema.Builder setKeyBytes(ByteString value)

Output only. The key of the parameter.

string key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for key to set.

Returns
Type Description
ComponentParameterSchema.Builder

This builder for chaining.

setType(String value)

public ComponentParameterSchema.Builder setType(String value)

Output only. The type of the parameter.

string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The type to set.

Returns
Type Description
ComponentParameterSchema.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public ComponentParameterSchema.Builder setTypeBytes(ByteString value)

Output only. The type of the parameter.

string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
ComponentParameterSchema.Builder

This builder for chaining.