public static final class PolicyControllerDeploymentConfig.Toleration.Builder extends GeneratedMessage.Builder<PolicyControllerDeploymentConfig.Toleration.Builder> implements PolicyControllerDeploymentConfig.TolerationOrBuilderToleration of a node taint.
Protobuf type
google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PolicyControllerDeploymentConfig.Toleration.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PolicyControllerDeploymentConfig.Toleration build()| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration |
|
buildPartial()
public PolicyControllerDeploymentConfig.Toleration buildPartial()| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration |
|
clear()
public PolicyControllerDeploymentConfig.Toleration.Builder clear()| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
|
clearEffect()
public PolicyControllerDeploymentConfig.Toleration.Builder clearEffect()Matches a taint effect.
optional string effect = 4;
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |
clearKey()
public PolicyControllerDeploymentConfig.Toleration.Builder clearKey()Matches a taint key (not necessarily unique).
optional string key = 1;
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |
clearOperator()
public PolicyControllerDeploymentConfig.Toleration.Builder clearOperator()Matches a taint operator.
optional string operator = 2;
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |
clearValue()
public PolicyControllerDeploymentConfig.Toleration.Builder clearValue()Matches a taint value.
optional string value = 3;
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PolicyControllerDeploymentConfig.Toleration getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEffect()
public String getEffect()Matches a taint effect.
optional string effect = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The effect. |
getEffectBytes()
public ByteString getEffectBytes()Matches a taint effect.
optional string effect = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for effect. |
getKey()
public String getKey()Matches a taint key (not necessarily unique).
optional string key = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
public ByteString getKeyBytes()Matches a taint key (not necessarily unique).
optional string key = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for key. |
getOperator()
public String getOperator()Matches a taint operator.
optional string operator = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The operator. |
getOperatorBytes()
public ByteString getOperatorBytes()Matches a taint operator.
optional string operator = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for operator. |
getValue()
public String getValue()Matches a taint value.
optional string value = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The value. |
getValueBytes()
public ByteString getValueBytes()Matches a taint value.
optional string value = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
hasEffect()
public boolean hasEffect()Matches a taint effect.
optional string effect = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the effect field is set. |
hasKey()
public boolean hasKey()Matches a taint key (not necessarily unique).
optional string key = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the key field is set. |
hasOperator()
public boolean hasOperator()Matches a taint operator.
optional string operator = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the operator field is set. |
hasValue()
public boolean hasValue()Matches a taint value.
optional string value = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the value field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PolicyControllerDeploymentConfig.Toleration other)
public PolicyControllerDeploymentConfig.Toleration.Builder mergeFrom(PolicyControllerDeploymentConfig.Toleration other)| Parameter | |
|---|---|
| Name | Description |
other |
PolicyControllerDeploymentConfig.Toleration |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PolicyControllerDeploymentConfig.Toleration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PolicyControllerDeploymentConfig.Toleration.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
|
setEffect(String value)
public PolicyControllerDeploymentConfig.Toleration.Builder setEffect(String value)Matches a taint effect.
optional string effect = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe effect to set. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |
setEffectBytes(ByteString value)
public PolicyControllerDeploymentConfig.Toleration.Builder setEffectBytes(ByteString value)Matches a taint effect.
optional string effect = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for effect to set. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |
setKey(String value)
public PolicyControllerDeploymentConfig.Toleration.Builder setKey(String value)Matches a taint key (not necessarily unique).
optional string key = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe key to set. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public PolicyControllerDeploymentConfig.Toleration.Builder setKeyBytes(ByteString value)Matches a taint key (not necessarily unique).
optional string key = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for key to set. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |
setOperator(String value)
public PolicyControllerDeploymentConfig.Toleration.Builder setOperator(String value)Matches a taint operator.
optional string operator = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe operator to set. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |
setOperatorBytes(ByteString value)
public PolicyControllerDeploymentConfig.Toleration.Builder setOperatorBytes(ByteString value)Matches a taint operator.
optional string operator = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for operator to set. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |
setValue(String value)
public PolicyControllerDeploymentConfig.Toleration.Builder setValue(String value)Matches a taint value.
optional string value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
public PolicyControllerDeploymentConfig.Toleration.Builder setValueBytes(ByteString value)Matches a taint value.
optional string value = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |