- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class PolicyControllerDeploymentConfig.Toleration.Builder extends GeneratedMessageV3.Builder<PolicyControllerDeploymentConfig.Toleration.Builder> implements PolicyControllerDeploymentConfig.TolerationOrBuilder
Toleration of a node taint.
Protobuf type
google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PolicyControllerDeploymentConfig.Toleration.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PolicyControllerDeploymentConfig.Toleration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public PolicyControllerDeploymentConfig.Toleration.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PolicyControllerDeploymentConfig.Toleration.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
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. |
clone()
public PolicyControllerDeploymentConfig.Toleration.Builder clone()
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PolicyControllerDeploymentConfig.Toleration.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
String The 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 |
ByteString The bytes for effect to set. |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PolicyControllerDeploymentConfig.Toleration.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
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 |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The bytes for operator to set. |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PolicyControllerDeploymentConfig.Toleration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PolicyControllerDeploymentConfig.Toleration.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
setValue(String value)
public PolicyControllerDeploymentConfig.Toleration.Builder setValue(String value)
Matches a taint value.
optional string value = 3;
Parameter | |
---|---|
Name | Description |
value |
String The 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 |
ByteString The bytes for value to set. |
Returns | |
---|---|
Type | Description |
PolicyControllerDeploymentConfig.Toleration.Builder |
This builder for chaining. |