public static final class ComponentVariable.Builder extends GeneratedMessage.Builder<ComponentVariable.Builder> implements ComponentVariableOrBuilderThe details of an input/output variable: the variable and the component Uri. name.
Protobuf type google.cloud.designcenter.v1.ComponentVariable
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ComponentVariable.BuilderImplements
ComponentVariableOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ComponentVariable build()| Returns | |
|---|---|
| Type | Description |
ComponentVariable |
|
buildPartial()
public ComponentVariable buildPartial()| Returns | |
|---|---|
| Type | Description |
ComponentVariable |
|
clear()
public ComponentVariable.Builder clear()| Returns | |
|---|---|
| Type | Description |
ComponentVariable.Builder |
|
clearComponentUri()
public ComponentVariable.Builder clearComponentUri()Required. Component to which this variable belongs.
string component_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ComponentVariable.Builder |
This builder for chaining. |
clearVariable()
public ComponentVariable.Builder clearVariable()Required. Name of the variable.
string variable = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ComponentVariable.Builder |
This builder for chaining. |
getComponentUri()
public String getComponentUri()Required. Component to which this variable belongs.
string component_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The componentUri. |
getComponentUriBytes()
public ByteString getComponentUriBytes()Required. Component to which this variable belongs.
string component_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for componentUri. |
getDefaultInstanceForType()
public ComponentVariable getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ComponentVariable |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getVariable()
public String getVariable()Required. Name of the variable.
string variable = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The variable. |
getVariableBytes()
public ByteString getVariableBytes()Required. Name of the variable.
string variable = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for variable. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ComponentVariable other)
public ComponentVariable.Builder mergeFrom(ComponentVariable other)| Parameter | |
|---|---|
| Name | Description |
other |
ComponentVariable |
| Returns | |
|---|---|
| Type | Description |
ComponentVariable.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComponentVariable.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComponentVariable.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ComponentVariable.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ComponentVariable.Builder |
|
setComponentUri(String value)
public ComponentVariable.Builder setComponentUri(String value)Required. Component to which this variable belongs.
string component_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe componentUri to set. |
| Returns | |
|---|---|
| Type | Description |
ComponentVariable.Builder |
This builder for chaining. |
setComponentUriBytes(ByteString value)
public ComponentVariable.Builder setComponentUriBytes(ByteString value)Required. Component to which this variable belongs.
string component_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for componentUri to set. |
| Returns | |
|---|---|
| Type | Description |
ComponentVariable.Builder |
This builder for chaining. |
setVariable(String value)
public ComponentVariable.Builder setVariable(String value)Required. Name of the variable.
string variable = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe variable to set. |
| Returns | |
|---|---|
| Type | Description |
ComponentVariable.Builder |
This builder for chaining. |
setVariableBytes(ByteString value)
public ComponentVariable.Builder setVariableBytes(ByteString value)Required. Name of the variable.
string variable = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for variable to set. |
| Returns | |
|---|---|
| Type | Description |
ComponentVariable.Builder |
This builder for chaining. |