Class PolicyControllerDeploymentConfig.Toleration (1.54.0)

public static final class PolicyControllerDeploymentConfig.Toleration extends GeneratedMessageV3 implements PolicyControllerDeploymentConfig.TolerationOrBuilder

Toleration of a node taint.

Protobuf type google.cloud.gkehub.policycontroller.v1beta.PolicyControllerDeploymentConfig.Toleration

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PolicyControllerDeploymentConfig.Toleration

Static Fields

EFFECT_FIELD_NUMBER

public static final int EFFECT_FIELD_NUMBER
Field Value
Type Description
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
Type Description
int

OPERATOR_FIELD_NUMBER

public static final int OPERATOR_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PolicyControllerDeploymentConfig.Toleration getDefaultInstance()
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PolicyControllerDeploymentConfig.Toleration.Builder newBuilder()
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration.Builder

newBuilder(PolicyControllerDeploymentConfig.Toleration prototype)

public static PolicyControllerDeploymentConfig.Toleration.Builder newBuilder(PolicyControllerDeploymentConfig.Toleration prototype)
Parameter
Name Description
prototype PolicyControllerDeploymentConfig.Toleration
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration.Builder

parseDelimitedFrom(InputStream input)

public static PolicyControllerDeploymentConfig.Toleration parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerDeploymentConfig.Toleration parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PolicyControllerDeploymentConfig.Toleration parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerDeploymentConfig.Toleration parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PolicyControllerDeploymentConfig.Toleration parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerDeploymentConfig.Toleration parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PolicyControllerDeploymentConfig.Toleration parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerDeploymentConfig.Toleration parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PolicyControllerDeploymentConfig.Toleration parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerDeploymentConfig.Toleration parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PolicyControllerDeploymentConfig.Toleration parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PolicyControllerDeploymentConfig.Toleration parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PolicyControllerDeploymentConfig.Toleration> parser()
Returns
Type Description
Parser<Toleration>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PolicyControllerDeploymentConfig.Toleration getDefaultInstanceForType()
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration

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.

getParserForType()

public Parser<PolicyControllerDeploymentConfig.Toleration> getParserForType()
Returns
Type Description
Parser<Toleration>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PolicyControllerDeploymentConfig.Toleration.Builder newBuilderForType()
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PolicyControllerDeploymentConfig.Toleration.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PolicyControllerDeploymentConfig.Toleration.Builder toBuilder()
Returns
Type Description
PolicyControllerDeploymentConfig.Toleration.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException