public static final class DisruptionEvent.PdbBlockedPod.Builder extends GeneratedMessage.Builder<DisruptionEvent.PdbBlockedPod.Builder> implements DisruptionEvent.PdbBlockedPodOrBuilderThe namespace/name of the pod whose eviction is blocked by PDB.
Protobuf type google.container.v1beta1.DisruptionEvent.PdbBlockedPod
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DisruptionEvent.PdbBlockedPod.BuilderImplements
DisruptionEvent.PdbBlockedPodOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
setName(String value)
public DisruptionEvent.PdbBlockedPod.Builder setName(String value)The name of the pod.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for namespace to set. |
| Returns | |
|---|---|
| Type | Description |
DisruptionEvent.PdbBlockedPod.Builder |
This builder for chaining. |