Class PodSnapshotConfig.Builder (2.86.0)

public static final class PodSnapshotConfig.Builder extends GeneratedMessage.Builder<PodSnapshotConfig.Builder> implements PodSnapshotConfigOrBuilder

PodSnapshotConfig is the configuration for GKE Pod Snapshots feature.

Protobuf type google.container.v1beta1.PodSnapshotConfig

Static Methods

getDescriptor()

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

Methods

build()

public PodSnapshotConfig build()
Returns
Type Description
PodSnapshotConfig

buildPartial()

public PodSnapshotConfig buildPartial()
Returns
Type Description
PodSnapshotConfig

clear()

public PodSnapshotConfig.Builder clear()
Returns
Type Description
PodSnapshotConfig.Builder
Overrides

clearEnabled()

public PodSnapshotConfig.Builder clearEnabled()

Whether or not the Pod Snapshots feature is enabled.

bool enabled = 1;

Returns
Type Description
PodSnapshotConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public PodSnapshotConfig getDefaultInstanceForType()
Returns
Type Description
PodSnapshotConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether or not the Pod Snapshots feature is enabled.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PodSnapshotConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEnabled(boolean value)

public PodSnapshotConfig.Builder setEnabled(boolean value)

Whether or not the Pod Snapshots feature is enabled.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
PodSnapshotConfig.Builder

This builder for chaining.