public static final class ApplyCondition.Builder extends GeneratedMessage.Builder<ApplyCondition.Builder> implements ApplyConditionOrBuilder Condition for applying the policy. Accepts the criticality
and environment parameters from the application template.
Protobuf type google.cloud.designcenter.v1.ApplyCondition
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ApplyCondition.BuilderImplements
ApplyConditionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ApplyCondition build()| Returns | |
|---|---|
| Type | Description |
ApplyCondition |
|
buildPartial()
public ApplyCondition buildPartial()| Returns | |
|---|---|
| Type | Description |
ApplyCondition |
|
clear()
public ApplyCondition.Builder clear()| Returns | |
|---|---|
| Type | Description |
ApplyCondition.Builder |
|
clearConditionKey()
public ApplyCondition.Builder clearConditionKey()Required. The key of the parameter for the condition.
string condition_key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ApplyCondition.Builder |
This builder for chaining. |
clearConditionValue()
public ApplyCondition.Builder clearConditionValue()Required. The value of the parameter for the condition.
string condition_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ApplyCondition.Builder |
This builder for chaining. |
getConditionKey()
public String getConditionKey()Required. The key of the parameter for the condition.
string condition_key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The conditionKey. |
getConditionKeyBytes()
public ByteString getConditionKeyBytes()Required. The key of the parameter for the condition.
string condition_key = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for conditionKey. |
getConditionValue()
public String getConditionValue()Required. The value of the parameter for the condition.
string condition_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The conditionValue. |
getConditionValueBytes()
public ByteString getConditionValueBytes()Required. The value of the parameter for the condition.
string condition_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for conditionValue. |
getDefaultInstanceForType()
public ApplyCondition getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ApplyCondition |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ApplyCondition other)
public ApplyCondition.Builder mergeFrom(ApplyCondition other)| Parameter | |
|---|---|
| Name | Description |
other |
ApplyCondition |
| Returns | |
|---|---|
| Type | Description |
ApplyCondition.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ApplyCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ApplyCondition.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ApplyCondition.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ApplyCondition.Builder |
|
setConditionKey(String value)
public ApplyCondition.Builder setConditionKey(String value)Required. The key of the parameter for the condition.
string condition_key = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe conditionKey to set. |
| Returns | |
|---|---|
| Type | Description |
ApplyCondition.Builder |
This builder for chaining. |
setConditionKeyBytes(ByteString value)
public ApplyCondition.Builder setConditionKeyBytes(ByteString value)Required. The key of the parameter for the condition.
string condition_key = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for conditionKey to set. |
| Returns | |
|---|---|
| Type | Description |
ApplyCondition.Builder |
This builder for chaining. |
setConditionValue(String value)
public ApplyCondition.Builder setConditionValue(String value)Required. The value of the parameter for the condition.
string condition_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe conditionValue to set. |
| Returns | |
|---|---|
| Type | Description |
ApplyCondition.Builder |
This builder for chaining. |
setConditionValueBytes(ByteString value)
public ApplyCondition.Builder setConditionValueBytes(ByteString value)Required. The value of the parameter for the condition.
string condition_value = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for conditionValue to set. |
| Returns | |
|---|---|
| Type | Description |
ApplyCondition.Builder |
This builder for chaining. |