Class DisruptionEvent.PdbBlockedPod.Builder (2.86.0)

public static final class DisruptionEvent.PdbBlockedPod.Builder extends GeneratedMessage.Builder<DisruptionEvent.PdbBlockedPod.Builder> implements DisruptionEvent.PdbBlockedPodOrBuilder

The namespace/name of the pod whose eviction is blocked by PDB.

Protobuf type google.container.v1beta1.DisruptionEvent.PdbBlockedPod

Static Methods

getDescriptor()

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

Methods

build()

public DisruptionEvent.PdbBlockedPod build()
Returns
Type Description
DisruptionEvent.PdbBlockedPod

buildPartial()

public DisruptionEvent.PdbBlockedPod buildPartial()
Returns
Type Description
DisruptionEvent.PdbBlockedPod

clear()

public DisruptionEvent.PdbBlockedPod.Builder clear()
Returns
Type Description
DisruptionEvent.PdbBlockedPod.Builder
Overrides

clearName()

public DisruptionEvent.PdbBlockedPod.Builder clearName()

The name of the pod.

string name = 2;

Returns
Type Description
DisruptionEvent.PdbBlockedPod.Builder

This builder for chaining.

clearNamespace()

public DisruptionEvent.PdbBlockedPod.Builder clearNamespace()

The namespace of the pod.

string namespace = 1;

Returns
Type Description
DisruptionEvent.PdbBlockedPod.Builder

This builder for chaining.

getDefaultInstanceForType()

public DisruptionEvent.PdbBlockedPod getDefaultInstanceForType()
Returns
Type Description
DisruptionEvent.PdbBlockedPod

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

The name of the pod.

string name = 2;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the pod.

string name = 2;

Returns
Type Description
ByteString

The bytes for name.

getNamespace()

public String getNamespace()

The namespace of the pod.

string namespace = 1;

Returns
Type Description
String

The namespace.

getNamespaceBytes()

public ByteString getNamespaceBytes()

The namespace of the pod.

string namespace = 1;

Returns
Type Description
ByteString

The bytes for namespace.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DisruptionEvent.PdbBlockedPod other)

public DisruptionEvent.PdbBlockedPod.Builder mergeFrom(DisruptionEvent.PdbBlockedPod other)
Parameter
Name Description
other DisruptionEvent.PdbBlockedPod
Returns
Type Description
DisruptionEvent.PdbBlockedPod.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DisruptionEvent.PdbBlockedPod.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DisruptionEvent.PdbBlockedPod.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DisruptionEvent.PdbBlockedPod.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DisruptionEvent.PdbBlockedPod.Builder
Overrides

setName(String value)

public DisruptionEvent.PdbBlockedPod.Builder setName(String value)

The name of the pod.

string name = 2;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DisruptionEvent.PdbBlockedPod.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DisruptionEvent.PdbBlockedPod.Builder setNameBytes(ByteString value)

The name of the pod.

string name = 2;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DisruptionEvent.PdbBlockedPod.Builder

This builder for chaining.

setNamespace(String value)

public DisruptionEvent.PdbBlockedPod.Builder setNamespace(String value)

The namespace of the pod.

string namespace = 1;

Parameter
Name Description
value String

The namespace to set.

Returns
Type Description
DisruptionEvent.PdbBlockedPod.Builder

This builder for chaining.

setNamespaceBytes(ByteString value)

public DisruptionEvent.PdbBlockedPod.Builder setNamespaceBytes(ByteString value)

The namespace of the pod.

string namespace = 1;

Parameter
Name Description
value ByteString

The bytes for namespace to set.

Returns
Type Description
DisruptionEvent.PdbBlockedPod.Builder

This builder for chaining.