public static final class UnitVariable.Builder extends GeneratedMessage.Builder<UnitVariable.Builder> implements UnitVariableOrBuilderUnitVariable describes a parameter for a Unit.
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UnitVariable.BuilderImplements
UnitVariableOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UnitVariable build()| Returns | |
|---|---|
| Type | Description |
UnitVariable |
|
buildPartial()
public UnitVariable buildPartial()| Returns | |
|---|---|
| Type | Description |
UnitVariable |
|
clear()
public UnitVariable.Builder clear()| Returns | |
|---|---|
| Type | Description |
UnitVariable.Builder |
|
clearType()
public UnitVariable.Builder clearType()Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable.Type type = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
UnitVariable.Builder |
This builder for chaining. |
clearValue()
public UnitVariable.Builder clearValue()Optional. String encoded value for the variable.
string value = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UnitVariable.Builder |
This builder for chaining. |
clearVariable()
public UnitVariable.Builder clearVariable()Required. Immutable. Name of the variable from actuation configs.
string variable = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
UnitVariable.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UnitVariable getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UnitVariable |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getType()
public UnitVariable.Type getType()Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable.Type type = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
UnitVariable.Type |
The type. |
getTypeValue()
public int getTypeValue()Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable.Type type = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
getValue()
public String getValue()Optional. String encoded value for the variable.
string value = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()Optional. String encoded value for the variable.
string value = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
getVariable()
public String getVariable()Required. Immutable. Name of the variable from actuation configs.
string variable = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
String |
The variable. |
getVariableBytes()
public ByteString getVariableBytes()Required. Immutable. Name of the variable from actuation configs.
string variable = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| 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(UnitVariable other)
public UnitVariable.Builder mergeFrom(UnitVariable other)| Parameter | |
|---|---|
| Name | Description |
other |
UnitVariable |
| Returns | |
|---|---|
| Type | Description |
UnitVariable.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UnitVariable.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UnitVariable.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UnitVariable.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UnitVariable.Builder |
|
setType(UnitVariable.Type value)
public UnitVariable.Builder setType(UnitVariable.Type value)Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable.Type type = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
UnitVariable.TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
UnitVariable.Builder |
This builder for chaining. |
setTypeValue(int value)
public UnitVariable.Builder setTypeValue(int value)Optional. Immutable. Name of a supported variable type. Supported types are string, int, bool.
.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable.Type type = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
UnitVariable.Builder |
This builder for chaining. |
setValue(String value)
public UnitVariable.Builder setValue(String value)Optional. String encoded value for the variable.
string value = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
UnitVariable.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public UnitVariable.Builder setValueBytes(ByteString value)Optional. String encoded value for the variable.
string value = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
UnitVariable.Builder |
This builder for chaining. |
setVariable(String value)
public UnitVariable.Builder setVariable(String value)Required. Immutable. Name of the variable from actuation configs.
string variable = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe variable to set. |
| Returns | |
|---|---|
| Type | Description |
UnitVariable.Builder |
This builder for chaining. |
setVariableBytes(ByteString value)
public UnitVariable.Builder setVariableBytes(ByteString value)Required. Immutable. Name of the variable from actuation configs.
string variable = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for variable to set. |
| Returns | |
|---|---|
| Type | Description |
UnitVariable.Builder |
This builder for chaining. |